Skip to content

fix: support array indexes in getPostGet() and getGetPost() #15047

fix: support array indexes in getPostGet() and getGetPost()

fix: support array indexes in getPostGet() and getGetPost() #15047

Triggered via pull request July 1, 2026 07:28
Status Failure
Total duration 1m 9s
Artifacts

test-phpstan.yml

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

Annotations

10 errors
PHP Static Analysis: tests/system/HTTP/ResponseSendTest.php#L143
Comparison operation ">" between int<1, max> and 0 is always true.
PHP Static Analysis: tests/system/HTTP/ResponseSendTest.php#L105
Comparison operation ">" between int<1, max> and 0 is always true.
PHP Static Analysis: tests/system/HTTP/ResponseSendTest.php#L70
Comparison operation ">" between int<1, max> and 0 is always true.
PHP Static Analysis: tests/system/HTTP/IncomingRequestTest.php#L1023
Call to an undefined method CodeIgniter\HTTP\Request::getGetPost().
PHP Static Analysis: tests/system/HTTP/IncomingRequestTest.php#L1022
Call to an undefined method CodeIgniter\HTTP\Request::getPostGet().
PHP Static Analysis: tests/system/HTTP/IncomingRequestTest.php#L101
Ignored error pattern #^Call to an undefined method CodeIgniter\\HTTP\\Request\:\:getGetPost\(\)\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/HTTP/IncomingRequestTest.php is expected to occur 5 times, but occurred 6 times.
PHP Static Analysis: tests/system/HTTP/IncomingRequestTest.php#L100
Ignored error pattern #^Call to an undefined method CodeIgniter\\HTTP\\Request\:\:getPostGet\(\)\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/HTTP/IncomingRequestTest.php is expected to occur 5 times, but occurred 6 times.
PHP Static Analysis: tests/system/HTTP/DownloadResponseTest.php#L380
Comparison operation ">" between int<1, max> and 0 is always true.
PHP Static Analysis: tests/system/CommonFunctionsSendTest.php#L61
Comparison operation ">" between int<1, max> and 0 is always true.
PHP Static Analysis: system/Common.php#L124
Function command() never returns false so it can be removed from the return type.