Skip to content

refactor: enable code quality level 34 for rector #11987

refactor: enable code quality level 34 for rector

refactor: enable code quality level 34 for rector #11987

Triggered via pull request December 10, 2024 11:02
Status Failure
Total duration 1m 52s
Artifacts

test-phpstan.yml

on: pull_request
PHP Static Analysis
1m 23s
PHP Static Analysis
Fit to window
Zoom out
Zoom in

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.