Skip to content

[Rector] Apply BooleanInIfConditionRuleFixerRector #9038

[Rector] Apply BooleanInIfConditionRuleFixerRector

[Rector] Apply BooleanInIfConditionRuleFixerRector #9038

Triggered via pull request October 16, 2023 05:48
Status Cancelled
Total duration 37s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test-phpstan.yml

on: pull_request
PHP Static Analysis
26s
PHP Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

11 errors
PHP Static Analysis
Canceling since a higher priority waiting request for 'PHPStan-boolean-in-if' exists
PHP Static Analysis: system/Autoloader/FileLocator.php#L1
Ignored error pattern #^Only booleans are allowed in an if condition, string given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Autoloader/FileLocator.php was not matched in reported errors.
PHP Static Analysis: system/BaseModel.php#L1
Ignored error pattern #^Only booleans are allowed in an if condition, array\|null given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/BaseModel.php was not matched in reported errors.
PHP Static Analysis: system/BaseModel.php#L1
Ignored error pattern #^Only booleans are allowed in an if condition, int given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/BaseModel.php was not matched in reported errors.
PHP Static Analysis: system/CLI/CLI.php#L1
Ignored error pattern #^Only booleans are allowed in an if condition, array given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/CLI/CLI.php was not matched in reported errors.
PHP Static Analysis: system/CLI/CLI.php#L1
Ignored error pattern #^Only booleans are allowed in an if condition, int given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/CLI/CLI.php was not matched in reported errors.
PHP Static Analysis: system/CLI/Commands.php#L1
Ignored error pattern #^Only booleans are allowed in an if condition, array given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/CLI/Commands.php was not matched in reported errors.
PHP Static Analysis: system/Cache/Handlers/PredisHandler.php#L1
Ignored error pattern #^Only booleans are allowed in an if condition, int given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Cache/Handlers/PredisHandler.php was not matched in reported errors.
PHP Static Analysis: system/Cache/Handlers/RedisHandler.php#L1
Ignored error pattern #^Only booleans are allowed in an if condition, int given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Cache/Handlers/RedisHandler.php was not matched in reported errors.
PHP Static Analysis: system/CodeIgniter.php#L1
Ignored error pattern #^Only booleans are allowed in an if condition, CodeIgniter\\HTTP\\ResponseInterface\|null given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/CodeIgniter.php was not matched in reported errors.
PHP Static Analysis: system/Config/Factories.php#L1
Ignored error pattern #^Only booleans are allowed in an if condition, string\|null given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Config/Factories.php was not matched in reported errors.