refactor: enable code quality level 34 for rector #11987
test-phpstan.yml
on: pull_request
PHP Static Analysis
1m 23s
Annotations
8 errors
PHP Static Analysis:
system/Filters/CSRF.php#L42
Return type (CodeIgniter\HTTP\RedirectResponse|null) of method CodeIgniter\Filters\CSRF::before() should be covariant with return type (CodeIgniter\HTTP\RequestInterface|CodeIgniter\HTTP\ResponseInterface|string|void) of method CodeIgniter\Filters\FilterInterface::before()
|
PHP Static Analysis:
system/Filters/Cors.php#L53
Return type (CodeIgniter\HTTP\ResponseInterface|string|null) of method CodeIgniter\Filters\Cors::before() should be covariant with return type (CodeIgniter\HTTP\RequestInterface|CodeIgniter\HTTP\ResponseInterface|string|void) of method CodeIgniter\Filters\FilterInterface::before()
|
PHP Static Analysis:
system/Filters/Cors.php#L93
Return type (CodeIgniter\HTTP\ResponseInterface|null) of method CodeIgniter\Filters\Cors::after() should be covariant with return type (CodeIgniter\HTTP\ResponseInterface|void) of method CodeIgniter\Filters\FilterInterface::after()
|
PHP Static Analysis:
system/Filters/ForceHTTPS.php#L37
Return type (CodeIgniter\HTTP\ResponseInterface|null) of method CodeIgniter\Filters\ForceHTTPS::before() should be covariant with return type (CodeIgniter\HTTP\RequestInterface|CodeIgniter\HTTP\ResponseInterface|string|void) of method CodeIgniter\Filters\FilterInterface::before()
|
PHP Static Analysis:
system/Filters/PageCache.php#L43
Return type (CodeIgniter\HTTP\ResponseInterface|null) of method CodeIgniter\Filters\PageCache::before() should be covariant with return type (CodeIgniter\HTTP\RequestInterface|CodeIgniter\HTTP\ResponseInterface|string|void) of method CodeIgniter\Filters\FilterInterface::before()
|
PHP Static Analysis:
system/Images/Handlers/BaseHandler.php#L1
Ignored error pattern #^Method CodeIgniter\\Images\\Handlers\\BaseHandler\:\:__call\(\) should return mixed but return statement is missing\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Images/Handlers/BaseHandler.php was not matched in reported errors.
|
PHP Static Analysis:
system/Language/Language.php#L1
Ignored error pattern #^Method CodeIgniter\\Language\\Language\:\:load\(\) return type has no value type specified in iterable type array\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Language/Language.php was not matched in reported errors.
|
PHP Static Analysis
Process completed with exit code 1.
|