Skip to content

fix: toRawArray() converts DateTime objects to strings (Supersedes #10207) #15206

fix: toRawArray() converts DateTime objects to strings (Supersedes #10207)

fix: toRawArray() converts DateTime objects to strings (Supersedes #10207) #15206

Triggered via pull request July 9, 2026 22:05
Status Failure
Total duration 1m 17s
Artifacts

test-phpstan.yml

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

Annotations

10 errors
PHP Static Analysis: tests/system/Filters/PageCacheTest.php#L0
Ignored error pattern #^Parameter \#1 \$config of class CodeIgniter\\HTTP\\RedirectResponse constructor expects CodeIgniter\\HTTP\\App, Config\\App given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Filters/PageCacheTest.php was not matched in reported errors.
PHP Static Analysis: tests/system/ControllerTest.php#L0
Ignored error pattern #^Parameter \#1 \$config of class CodeIgniter\\HTTP\\Response constructor expects CodeIgniter\\HTTP\\App, Config\\App given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/ControllerTest.php was not matched in reported errors.
PHP Static Analysis: tests/system/Config/ServicesTest.php#L0
Ignored error pattern #^Parameter \#1 \$config of class CodeIgniter\\Test\\Mock\\MockResponse constructor expects CodeIgniter\\HTTP\\App, Config\\App given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Config/ServicesTest.php was not matched in reported errors.
PHP Static Analysis: tests/system/CommonFunctionsTest.php#L0
Ignored error pattern #^Parameter \#1 \$config of class CodeIgniter\\HTTP\\RedirectResponse constructor expects CodeIgniter\\HTTP\\App, Config\\App given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/CommonFunctionsTest.php was not matched in reported errors.
PHP Static Analysis: tests/system/Cache/ResponseCacheTest.php#L0
Ignored error pattern #^Parameter \#1 \$config of class CodeIgniter\\HTTP\\Response constructor expects CodeIgniter\\HTTP\\App, Config\\App given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Cache/ResponseCacheTest.php was not matched in reported errors.
PHP Static Analysis: tests/system/API/ResponseTraitTest.php#L0
Ignored error pattern #^Parameter \#1 \$config of class CodeIgniter\\Test\\Mock\\MockResponse constructor expects CodeIgniter\\HTTP\\App, Config\\App given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/API/ResponseTraitTest.php was not matched in reported errors.
PHP Static Analysis: system/HTTP/DownloadResponse.php#L0
Ignored error pattern #^Parameter \#1 \$config of method CodeIgniter\\HTTP\\Response\:\:__construct\(\) expects CodeIgniter\\HTTP\\App, Config\\App given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/HTTP/DownloadResponse.php was not matched in reported errors.
PHP Static Analysis: system/HTTP/CURLRequest.php#L0
Ignored error pattern #^Parameter \#1 \$config of class CodeIgniter\\HTTP\\Response constructor expects CodeIgniter\\HTTP\\App, Config\\App given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/HTTP/CURLRequest.php was not matched in reported errors.
PHP Static Analysis: system/Config/Services.php#L0
Ignored error pattern #^Parameter \#1 \$config of class CodeIgniter\\HTTP\\Response constructor expects CodeIgniter\\HTTP\\App, Config\\App given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Config/Services.php was not matched in reported errors.
PHP Static Analysis: system/Config/Services.php#L0
Ignored error pattern #^Parameter \#1 \$config of class CodeIgniter\\HTTP\\RedirectResponse constructor expects CodeIgniter\\HTTP\\App, Config\\App given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Config/Services.php was not matched in reported errors.