build(deps-dev): update rector/rector requirement from 0.18.5 to 0.18.13 #121
test-phpstan.yml
on: pull_request
PHP Static Analysis
38s
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/Database/MySQLi/PreparedQuery.php#L1
Ignored error pattern #^Return type \(CodeIgniter\\Database\\MySQLi\\PreparedQuery\) of method CodeIgniter\\Database\\MySQLi\\PreparedQuery\:\:_prepare\(\) should be covariant with return type \(\$this\(CodeIgniter\\Database\\BasePreparedQuery\<TConnection, TStatement, TResult\>\)\) of method CodeIgniter\\Database\\BasePreparedQuery\<mysqli,mysqli_stmt,mysqli_result\>\:\:_prepare\(\)$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Database/MySQLi/PreparedQuery.php was not matched in reported errors.
|
PHP Static Analysis:
system/Database/OCI8/PreparedQuery.php#L1
Ignored error pattern #^Return type \(CodeIgniter\\Database\\OCI8\\PreparedQuery\) of method CodeIgniter\\Database\\OCI8\\PreparedQuery\:\:_prepare\(\) should be covariant with return type \(\$this\(CodeIgniter\\Database\\BasePreparedQuery\<TConnection, TStatement, TResult\>\)\) of method CodeIgniter\\Database\\BasePreparedQuery\<resource,resource,resource\>\:\:_prepare\(\)$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Database/OCI8/PreparedQuery.php was not matched in reported errors.
|
PHP Static Analysis:
system/Database/Postgre/PreparedQuery.php#L1
Ignored error pattern #^Return type \(CodeIgniter\\Database\\Postgre\\PreparedQuery\) of method CodeIgniter\\Database\\Postgre\\PreparedQuery\:\:_prepare\(\) should be covariant with return type \(\$this\(CodeIgniter\\Database\\BasePreparedQuery\<TConnection, TStatement, TResult\>\)\) of method CodeIgniter\\Database\\BasePreparedQuery\<PgSql\\Connection,PgSql\\Result,PgSql\\Result\>\:\:_prepare\(\)$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Database/Postgre/PreparedQuery.php was not matched in reported errors.
|
PHP Static Analysis:
system/Database/SQLSRV/PreparedQuery.php#L1
Ignored error pattern #^Return type \(CodeIgniter\\Database\\SQLSRV\\PreparedQuery\) of method CodeIgniter\\Database\\SQLSRV\\PreparedQuery\:\:_prepare\(\) should be covariant with return type \(\$this\(CodeIgniter\\Database\\BasePreparedQuery\<TConnection, TStatement, TResult\>\)\) of method CodeIgniter\\Database\\BasePreparedQuery\<resource,resource,resource\>\:\:_prepare\(\)$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Database/SQLSRV/PreparedQuery.php was not matched in reported errors.
|
PHP Static Analysis:
system/Database/SQLite3/PreparedQuery.php#L1
Ignored error pattern #^Return type \(CodeIgniter\\Database\\SQLite3\\PreparedQuery\) of method CodeIgniter\\Database\\SQLite3\\PreparedQuery\:\:_prepare\(\) should be covariant with return type \(\$this\(CodeIgniter\\Database\\BasePreparedQuery\<TConnection, TStatement, TResult\>\)\) of method CodeIgniter\\Database\\BasePreparedQuery\<SQLite3,SQLite3Stmt,SQLite3Result\>\:\:_prepare\(\)$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Database/SQLite3/PreparedQuery.php was not matched in reported errors.
|