Skip to content

refactor: simplify and optimize handleRequest method in CodeIgniter #15805

refactor: simplify and optimize handleRequest method in CodeIgniter

refactor: simplify and optimize handleRequest method in CodeIgniter #15805

Triggered via pull request July 10, 2026 19:51
Status Success
Total duration 15m 28s
Artifacts 9

test-phpunit.yml

on: pull_request
Setup PHP Version for Code Coverage
4s
Setup PHP Version for Code Coverage
Matrix: Others
Matrix: CacheLive
Matrix: DatabaseLive
Matrix: SeparateProcess
Upload coverage results to Coveralls  /  coveralls
51s
Upload coverage results to Coveralls / coveralls
Fit to window
Zoom out
Zoom in

Annotations

1 error and 30 warnings
DatabaseLive (8.5, OCI8, 8.0) / tests
Process completed with exit code 2.
Others (8.2) / Sanity Tests: /tests/system/API/ResponseTraitTest.php#L158
Took 0.6439s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testNoFormatterJSON
Others (8.2) / Sanity Tests: /tests/system/CodeIgniterTest.php#L990
Took 1.0537s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
CacheLive (8.2) / Cache Live Tests: /tests/system/Cache/Handlers/AbstractHandlerTestCase.php#L30
Took 0.6539s from 0.5000s limit to run CodeIgniter\\Cache\\Handlers\\ApcuHandlerTest::testGetMetaDataMiss
SeparateProcess (8.2) / tests: /tests/system/Commands/Encryption/GenerateKeyTest.php#L82
Took 0.9341s from 0.5000s limit to run CodeIgniter\\Commands\\Encryption\\GenerateKeyTest::testGenerateKeyShowsEncodedKey
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L63
Took 0.5098s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L78
Took 0.9957s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateRollback
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.0898s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLite3, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.0821s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.0939s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.1165s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/InsertModelTest.php#L240
Took 1.3713s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertPermitInsertNoData
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L494
Took 1.4199s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLatestWithLockingEnabledSucceeds
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/SaveModelTest.php#L270
Took 1.4586s from 0.5000s limit to run CodeIgniter\\Models\\SaveModelTest::testSaveNewEntityWithDate
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/FabricatorLiveTest.php#L34
Took 1.5333s from 0.5000s limit to run CodeIgniter\\Database\\Live\\FabricatorLiveTest::testCreateAddsToDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1583
Took 1.6798s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1236
Took 2.1636s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1680
Took 2.2907s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L238
Took 2.4571s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L63
Took 3.7325s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L494
Took 4.0706s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1507
Took 0.8196s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropMultipleColumnWithArray
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1795
Took 0.9376s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexesWithForeignKeyOnly
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L127
Took 1.2791s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExistsWithDbWithDots
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/DatabaseTestCaseTest.php#L71
Took 1.2831s from 0.5000s limit to run CodeIgniter\\Database\\DatabaseTestCaseTest::testMultipleMigrationNamespaces
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L60
Took 1.6026s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateRollbackValidBatchNumber
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.7024s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L49
Took 2.3694s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrate
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L87
Took 3.3170s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateRefresh
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L92
Took 4.1013s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExists
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L63
Took 4.8050s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots

Artifacts

Produced during runtime
Name Size Digest
cache-live-tests-php-8.2-db-none Expired
147 KB
sha256:4e0785776a15d1a9a6b55e42f24ca3ebfa0798603b8358da4b121a4d1d350767
database-live-tests-php-8.2-db-MySQLi5.7 Expired
13.6 MB
sha256:7aed3d9a366b0a82e02a330e16e5dd19218fa2ed9741b8be6bf1a5f7f7588fe8
database-live-tests-php-8.2-db-MySQLi8.0 Expired
13.6 MB
sha256:9a7770137b8c91384d525a66341a960b61175b685aa472ab2edeb56459fc9259
database-live-tests-php-8.2-db-OCI88.0 Expired
13.8 MB
sha256:2613234181033c91634bf2e85229c426ae556ac100fe03cc5423ccde9bbc51f7
database-live-tests-php-8.2-db-Postgre8.0 Expired
13.3 MB
sha256:0fe13588d658a24573770136a0d2599d0e0671662091d882b2f19e420ecb12b9
database-live-tests-php-8.2-db-SQLSRV8.0 Expired
13.4 MB
sha256:af16bbc25f0d3c87135e18f2d53216c28429576860cc2ed1a5a8c28e7877d349
database-live-tests-php-8.2-db-SQLite38.0 Expired
13.3 MB
sha256:266e9cb2ed1b9f8a9cc32bc1ace33da2ea93bd689421cb36505b86c1cce59952
sanity-tests-php-8.2-db-none Expired
31.8 MB
sha256:bc21f308ba45e060dc4d07a215107af74aaa6ca873fc73be2a25422a45bfeaca
separate-process-tests-php-8.2-db-none Expired
3.71 MB
sha256:dedad00e50eb6771d0927a1711202d2c72c426d809d56e557b19cde8f29c7c30