refactor: add declare(strict_types=1)
#9195
test-phpstan.yml
on: pull_request
PHP Static Analysis
1m 18s
Annotations
4 errors
PHP Static Analysis:
system/HTTP/ResponseInterface.php#L340
Default value of the parameter #3 $expire (int) of method CodeIgniter\HTTP\ResponseInterface::setCookie() is incompatible with type string.
|
PHP Static Analysis:
system/HTTP/ResponseTrait.php (in context of class CodeIgniter/HTTP/Response)#L569
Parameter #3 $expire (int) of method CodeIgniter\HTTP\Response::setCookie() should be compatible with parameter $expire (string) of method CodeIgniter\HTTP\ResponseInterface::setCookie()
|
PHP Static Analysis:
system/Helpers/cookie_helper.php#L55
Parameter #3 $expire of method CodeIgniter\HTTP\ResponseInterface::setCookie() expects string, int given.
|
PHP Static Analysis
Process completed with exit code 1.
|