Skip to content

fix: Entity::normalizeValue() must handle UnitEnum before toArray() #14785

fix: Entity::normalizeValue() must handle UnitEnum before toArray()

fix: Entity::normalizeValue() must handle UnitEnum before toArray() #14785

Triggered via pull request April 24, 2026 14:44
Status Success
Total duration 13m 8s
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
52s
Upload coverage results to Coveralls / coveralls
Fit to window
Zoom out
Zoom in

Annotations

1 error and 18 warnings
DatabaseLive (8.5, OCI8, 8.0) / tests
Process completed with exit code 2.
Others (8.2) / Sanity Tests: /tests/system/API/ResponseTraitTest.php#L761
Took 0.5139s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testPaginateWithQueryBuilder
Others (8.2) / Sanity Tests: /tests/system/CLI/BaseCommandTest.php#L44
Took 0.7854s from 0.5000s limit to run CodeIgniter\\CLI\\BaseCommandTest::testRunCommand
Others (8.2) / Sanity Tests: /tests/system/CodeIgniterTest.php#L989
Took 1.0809s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
Others (8.2) / Sanity Tests: /tests/system/API/ResponseTraitTest.php#L158
Took 2.7781s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testNoFormatterJSON
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Database/Live/DbUtilsTest.php#L99
Took 0.6754s from 0.5000s limit to run CodeIgniter\\Database\\Live\\DbUtilsTest::testUtilsOptimizeDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L85
Took 0.5105s 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 3.1573s 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 3.3151s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L48
Took 1.3365s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/InsertModelTest.php#L240
Took 1.3403s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertPermitInsertNoData
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/ReplaceModelTest.php#L25
Took 1.3594s from 0.5000s limit to run CodeIgniter\\Models\\ReplaceModelTest::testReplaceRespectsUseTimestamps
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L494
Took 1.4029s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLatestWithLockingEnabledSucceeds
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/ValidationModelRuleGroupTest.php#L50
Took 1.4603s from 0.5000s limit to run CodeIgniter\\Models\\ValidationModelRuleGroupTest::testValid
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1583
Took 1.6395s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L238
Took 1.8420s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1236
Took 2.1030s 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.1496s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L494
Took 4.0003s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey

Artifacts

Produced during runtime
Name Size Digest
cache-live-tests-php-8.2-db-none Expired
129 KB
sha256:f67693c0007f7d4b4a342a37b2c60e48ac6aeb3d24682fd75b300e42f2d4c56d
database-live-tests-php-8.2-db-MySQLi5.7 Expired
13.3 MB
sha256:cab26f84a111a40c3c0af47702237aee1436959a31fa8928bef10751ef61141b
database-live-tests-php-8.2-db-MySQLi8.0 Expired
13.3 MB
sha256:e6cb678f3198959daee8ac8286c12a5d0b95cfb01434240cb57047a8ed583463
database-live-tests-php-8.2-db-OCI88.0 Expired
13.5 MB
sha256:b072e4085f9701956b1798fd36fe9f8560d743908555337d982adf1904ba1e30
database-live-tests-php-8.2-db-Postgre8.0 Expired
13 MB
sha256:54cb39b35a217ef447ec2bad68ff6f80fd8a59b5366e958cada74f6f746bd071
database-live-tests-php-8.2-db-SQLSRV8.0 Expired
13.1 MB
sha256:384609856e20f1c5f4596899ca6ea2c74ee94de6d860af44f84692f0dea60839
database-live-tests-php-8.2-db-SQLite38.0 Expired
13 MB
sha256:aeb0dd42a6a91805ccb4c06f89618c6a2f42e006e094eb55ec75c316f6c8786a
sanity-tests-php-8.2-db-none Expired
30.8 MB
sha256:4f7e7599c1dd184a201fcc0913e53e5d33e3aecc0a62341ffdaee6cd0d7b1d31
separate-process-tests-php-8.2-db-none Expired
3.23 MB
sha256:bb89a359aa604dd29a419a17172b7158e8db7ff71935056b2a553cb77c815935