fix: codeigniter in a subdirectory + indexPage results in 404 #12813
test-phpstan.yml
on: pull_request
PHP Static Analysis
1m 19s
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.
|