Skip to content

refactor(HTTP): split setCURLOptions into category helper methods to reduce complexity #15061

refactor(HTTP): split setCURLOptions into category helper methods to reduce complexity

refactor(HTTP): split setCURLOptions into category helper methods to reduce complexity #15061

Triggered via pull request July 1, 2026 18:08
Status Failure
Total duration 1m 7s
Artifacts

test-phpstan.yml

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

Annotations

10 errors
PHP Static Analysis: tests/system/Test/TestCaseEmissionsTest.php#L93
Comparison operation ">" between int<1, max> and 0 is always true.
PHP Static Analysis: tests/system/Test/TestCaseEmissionsTest.php#L65
Comparison operation ">" between int<1, max> and 0 is always true.
PHP Static Analysis: tests/system/Test/BootstrapFCPATHTest.php#L103
Method CodeIgniter\Test\BootstrapFCPATHTest::readOutput() never returns false so it can be removed from the return type.
PHP Static Analysis: tests/system/HTTP/ResponseSendTest.php#L216
Comparison operation ">" between int<1, max> and 0 is always true.
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/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.