Skip to content

build(deps-dev): update rector/rector requirement from 0.18.5 to 0.18.12 #120

build(deps-dev): update rector/rector requirement from 0.18.5 to 0.18.12

build(deps-dev): update rector/rector requirement from 0.18.5 to 0.18.12 #120

Triggered via pull request December 4, 2023 11:57
Status Failure
Total duration 55s
Artifacts

test-phpstan.yml

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

Annotations

10 errors
PHP Static Analysis: system/Cache/Handlers/RedisHandler.php#L250
Comparison operation ">" between (int|Redis|false) and 0 results in an error.
PHP Static Analysis: system/Commands/Server/rewrite.php#L1
Ignored error pattern #^Accessing offset 'DOCUMENT_ROOT' directly on \$_SERVER is discouraged\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Commands/Server/rewrite.php was not matched in reported errors.
PHP Static Analysis: system/Commands/Server/rewrite.php#L1
Ignored error pattern #^Accessing offset 'REQUEST_URI' directly on \$_SERVER is discouraged\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Commands/Server/rewrite.php was not matched in reported errors.
PHP Static Analysis: system/Commands/Server/rewrite.php#L1
Ignored error pattern #^Assigning '/index\.php' directly on offset 'SCRIPT_NAME' of \$_SERVER is discouraged\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Commands/Server/rewrite.php was not matched in reported errors.
PHP Static Analysis: system/Config/Factories.php#L380
Call to function config with CodeIgniter\Config\Factory::class is discouraged.
PHP Static Analysis: system/Session/Handlers/RedisHandler.php#L1
Ignored error pattern #^Only booleans are allowed in a negated boolean, int given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Session/Handlers/RedisHandler.php was not matched in reported errors.
PHP Static Analysis: system/Session/Handlers/RedisHandler.php#L296
Comparison operation ">" between (int|Redis|false) and 0 results in an error.
PHP Static Analysis: system/Test/bootstrap.php#L1
Ignored error pattern #^Accessing offset 'app\.baseURL' directly on \$_SERVER is discouraged\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Test/bootstrap.php was not matched in reported errors.
PHP Static Analysis: system/Test/bootstrap.php#L1
Ignored error pattern #^Assigning 'http\://example\.com/' directly on offset 'app\.baseURL' of \$_SERVER is discouraged\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Test/bootstrap.php was not matched in reported errors.
PHP Static Analysis: system/Test/bootstrap.php#L1
Ignored error pattern #^Assigning 'testing' directly on offset 'CI_ENVIRONMENT' of \$_SERVER is discouraged\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Test/bootstrap.php was not matched in reported errors.