Skip to content

fix: codeigniter in a subdirectory + indexPage results in 404 #12813

fix: codeigniter in a subdirectory + indexPage results in 404

fix: codeigniter in a subdirectory + indexPage results in 404 #12813

Triggered via pull request June 26, 2025 12:36
Status Failure
Total duration 1m 25s
Artifacts

test-phpstan.yml

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

Annotations

7 errors
PHP Static Analysis
Process completed with exit code 1.
PHP Static Analysis: tests/system/HTTP/SiteURIFactoryTest.php#L197
Method CodeIgniter\HTTP\SiteURIFactoryTest::provideCreateFromStringWithIndexPageSubDirCombinations() return type has no value type specified in iterable type iterable.
PHP Static Analysis: tests/system/HTTP/SiteURIFactoryTest.php#L190
Assigning 'http://localhost:8080' directly on offset 'HTTP_HOST' of $_SERVER is discouraged.
PHP Static Analysis: tests/system/HTTP/SiteURIFactoryTest.php#L189
Assigning non-falsy-string directly on offset 'SCRIPT_NAME' of $_SERVER is discouraged.
PHP Static Analysis: tests/system/HTTP/SiteURIFactoryTest.php#L188
Assigning non-falsy-string directly on offset 'REQUEST_URI' of $_SERVER is discouraged.
PHP Static Analysis: tests/system/HTTP/SiteURIFactoryTest.php#L188
Accessing offset 'PATH_INFO' directly on $_SERVER is discouraged.
PHP Static Analysis: tests/system/HTTP/SiteURIFactoryTest.php#L187
Assigning '/controller/method' directly on offset 'PATH_INFO' of $_SERVER is discouraged.