Skip to content

fix: harden regex matching on key:generate command #15002

fix: harden regex matching on key:generate command

fix: harden regex matching on key:generate command #15002

Triggered via pull request May 10, 2026 12:50
Status Success
Total duration 27m 18s
Artifacts 9

test-phpunit.yml

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

Annotations

1 error and 27 warnings
DatabaseLive (8.5, OCI8, 8.0) / tests
Process completed with exit code 2.
Others (8.2) / Sanity Tests: /tests/system/CodeIgniterTest.php#L990
Took 1.0549s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
SeparateProcess (8.2) / tests: /tests/system/Commands/Encryption/GenerateKeyTest.php#L82
Took 0.5813s from 0.5000s limit to run CodeIgniter\\Commands\\Encryption\\GenerateKeyTest::testGenerateKeyShowsEncodedKey
DatabaseLive (8.2, SQLite3, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 0.7045s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L47
Took 0.6061s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrate
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 0.7166s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 0.6697s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 0.6626s 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.3760s 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.3982s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLatestWithLockingEnabledSucceeds
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/ReplaceModelTest.php#L25
Took 1.3998s from 0.5000s limit to run CodeIgniter\\Models\\ReplaceModelTest::testReplaceRespectsUseTimestamps
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/UpdateTest.php#L665
Took 1.4729s from 0.5000s limit to run CodeIgniter\\Database\\Live\\UpdateTest::testUpdateBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/EventsModelTest.php#L37
Took 1.5079s from 0.5000s limit to run CodeIgniter\\Models\\EventsModelTest::testInsertEvent
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1583
Took 1.6583s 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.1204s 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.2125s 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.3939s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L494
Took 4.0287s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/DatabaseTestCase/DatabaseTestCaseMigrationOnce2Test.php#L63
Took 1.4234s from 0.5000s limit to run CodeIgniter\\Database\\DatabaseTestCase\\DatabaseTestCaseMigrationOnce2Test::testMigrationDone
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L881
Took 1.4603s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testAddColumnNull
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L109
Took 1.8354s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExistsWithDb
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L94
Took 1.9674s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateStatus
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L47
Took 2.0233s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrate
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L105
Took 2.0253s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testSeed
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/DatabaseTestCaseTest.php#L71
Took 2.8828s from 0.5000s limit to run CodeIgniter\\Database\\DatabaseTestCaseTest::testMultipleMigrationNamespaces
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L92
Took 3.3201s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExists
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L85
Took 3.7678s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateRefresh
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L63
Took 4.0224s 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
140 KB
sha256:6a45c095b0de7e6a52121b8fde79d2def9f7baa6c3640a75d16fce8a8feac54f
database-live-tests-php-8.2-db-MySQLi5.7 Expired
13.4 MB
sha256:c3029663f3be2648e06298c524cd74387ed77d59d3559df6a61f1e27e319336f
database-live-tests-php-8.2-db-MySQLi8.0 Expired
13.4 MB
sha256:fbab2657a2354ca478cada0831ffa5598d85f868d9edf6ee6223274c18c5db86
database-live-tests-php-8.2-db-OCI88.0 Expired
13.6 MB
sha256:2e0f427e69391f9e7aece3d8bd40da57d6720ed936c7b8198990997f90907430
database-live-tests-php-8.2-db-Postgre8.0 Expired
13.1 MB
sha256:69626bfa37911846a1beaa45f97b01cdce7f800cce3313815cb9cdee77ea686b
database-live-tests-php-8.2-db-SQLSRV8.0 Expired
13.2 MB
sha256:0903afa6c9e5166538a3f6892b2dc46deaa9ef7b2253e7526784ab5d12eef61b
database-live-tests-php-8.2-db-SQLite38.0 Expired
13.1 MB
sha256:dc62220d339a952d47bcdb811b4064c794962729009d7b3d45291baa0a2b46b7
sanity-tests-php-8.2-db-none Expired
30.6 MB
sha256:3d124ec177c74d7b88d2ea8815fb24789571e7d976e37d5dd846e3f364fb89db
separate-process-tests-php-8.2-db-none Expired
3.27 MB
sha256:9b20dd8fd9017c9355bcbb11b6862dbda613ad53ae2aa8878f17538c443bbdad