test(Database): fix state leaks and random-order test determinism for MySQLi, PostgreSQL, and OCI8 #15832
Triggered via pull request
September 23, 2026 20:00
Status
Failure
Total duration
1m 10s
Artifacts
–
test-phpstan.yml
on: pull_request
PHP Static Analysis
1m 5s
Annotations
10 errors
|
PHP Static Analysis:
tests/system/Helpers/FormHelperTest.php#L876
Call to method PHPUnit\Framework\Assert::assertSame() with ' selected="selected"' and ' selected="selected"' will always evaluate to true.
|
|
PHP Static Analysis:
tests/system/HTTP/RequestTest.php#L567
Call to method PHPUnit\Framework\Assert::assertSame() with '123.123.123.123' and '123.123.123.123' will always evaluate to true.
|
|
PHP Static Analysis:
tests/system/HTTP/IncomingRequestTest.php#L1062
Call to method PHPUnit\Framework\Assert::assertSame() with '123.123.123.123' and '123.123.123.123' will always evaluate to true.
|
|
PHP Static Analysis:
tests/system/Events/EventsTest.php#L76
Call to method PHPUnit\Framework\Assert::assertSame() with array{'/peanuts'} and array{'/peanuts'} will always evaluate to true.
|
|
PHP Static Analysis:
tests/system/Entity/EntityTest.php#L381
Call to method PHPUnit\Framework\Assert::assertSame() with 3 and 3 will always evaluate to true.
|
|
PHP Static Analysis:
tests/system/Encryption/Handlers/SodiumHandlerTest.php#L148
Call to method PHPUnit\Framework\Assert::assertSame() with string and non-empty-string will always evaluate to true.
|
|
PHP Static Analysis:
tests/system/Encryption/Handlers/OpenSSLHandlerTest.php#L158
Call to method PHPUnit\Framework\Assert::assertSame() with 'original-key-value' and 'original-key-value' will always evaluate to true.
|
|
PHP Static Analysis:
tests/system/Email/EmailTest.php#L720
Call to method PHPUnit\Framework\Assert::assertSame() with 3 and 3 will always evaluate to true.
|
|
PHP Static Analysis:
tests/system/Database/BaseConnectionTest.php#L511
Method CodeIgniter\Test\Mock\MockConnection@anonymous/tests/system/Database/BaseConnectionTest.php:510::listTables() never returns false so it can be removed from the return type.
|
|
PHP Static Analysis:
tests/system/Config/ServicesTest.php#L203
Call to method PHPUnit\Framework\Assert::assertSame() with 'en' and 'en' will always evaluate to true.
|