Skip to content

fix: Prevent DivisionByZeroError in BaseHandler::reproportion() with float 0.0 #15485

fix: Prevent DivisionByZeroError in BaseHandler::reproportion() with float 0.0

fix: Prevent DivisionByZeroError in BaseHandler::reproportion() with float 0.0 #15485

Triggered via pull request June 17, 2026 17:29
Status Success
Total duration 17m 5s
Artifacts 9

test-phpunit.yml

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

Annotations

1 error and 14 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.0535s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/InsertModelTest.php#L240
Took 1.3226s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertPermitInsertNoData
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L48
Took 1.3591s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L494
Took 1.3727s 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.4300s from 0.5000s limit to run CodeIgniter\\Models\\SaveModelTest::testSaveNewEntityWithDate
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1583
Took 1.6268s 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.1079s 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.1898s 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.3393s 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 2.8483s 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 3.9428s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 0.5859s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L92
Took 3.1578s 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.3208s 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
131 KB
sha256:9de464ad965ac834cf35042e4045ee09dcc1e2240b9bc0d4d5be13ddf5acb594
database-live-tests-php-8.2-db-MySQLi5.7 Expired
13.5 MB
sha256:56e8a9ec0cb4af73fa095575158deb71114132a966aa97fd487303e61563e978
database-live-tests-php-8.2-db-MySQLi8.0 Expired
13.5 MB
sha256:a9f6ede44250eb34259c1d4f7d0a83964057d73856ed804165e3f238e2953d9e
database-live-tests-php-8.2-db-OCI88.0 Expired
13.7 MB
sha256:4dda9d47ce2f18228b766c84d1bccb4bb5b342479fd72c65384d6dea784d008d
database-live-tests-php-8.2-db-Postgre8.0 Expired
13.2 MB
sha256:50b2a0602338b9ad5504f18b9f6b0bb5666da006cb2ac43e9dfd2d70b5df119b
database-live-tests-php-8.2-db-SQLSRV8.0 Expired
13.3 MB
sha256:7aab32e4afce0ea2cfe06fd2f9d5c4c0e8799117b7ecacd34f492bca438d9fab
database-live-tests-php-8.2-db-SQLite38.0 Expired
13.2 MB
sha256:029ebdd0a3fae03dd01c2f4328d6bd6bb5c40529bfe18e368d02d7c17ed8e8d8
sanity-tests-php-8.2-db-none Expired
31.2 MB
sha256:0ba29b4c967fa780c50c0192f2f4032c6c3b5f30db6104314f20e9baff0ce244
separate-process-tests-php-8.2-db-none Expired
3.42 MB
sha256:c56d8606b44f6c888f4c1e6b38092687da1c7b7e5345bc0c5e413f128fbcd6d5