Skip to content

refactor: fix non-booleans in if conditions #13297

refactor: fix non-booleans in if conditions

refactor: fix non-booleans in if conditions #13297

Triggered via pull request May 25, 2025 13:42
Status Success
Total duration 17m 59s
Artifacts 8

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
47s
Upload coverage results to Coveralls / coveralls
Fit to window
Zoom out
Zoom in

Annotations

15 warnings
Others (8.2) / Sanity Tests: /tests/system/Images/ImageMagickHandlerTest.php#L472
Took 0.5213s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientPortrait
Others (8.2) / Sanity Tests: /tests/system/Images/ImageMagickHandlerTest.php#L453
Took 0.5446s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientLandscape
Others (8.2) / Sanity Tests: /tests/system/Images/ImageMagickHandlerTest.php#L356
Took 0.6812s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageCreation
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L83
Took 0.5946s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateRefresh
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L45
Took 0.6058s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrate
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/FabricatorLiveTest.php#L34
Took 0.7472s from 0.5000s limit to run CodeIgniter\\Database\\Live\\FabricatorLiveTest::testCreateAddsToDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/InsertModelTest.php#L239
Took 0.7681s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertPermitInsertNoData
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1583
Took 0.8118s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L53
Took 0.8551s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/EventsModelTest.php#L37
Took 0.9402s from 0.5000s limit to run CodeIgniter\\Models\\EventsModelTest::testInsertEvent
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1236
Took 1.0455s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ConnectTest.php#L97
Took 1.0915s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ConnectTest::testConnectWithFailover
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/InsertModelTest.php#L70
Took 1.3924s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertBatchUseAutoIncrementSetToFalse
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1676
Took 1.4332s 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 2.8563s 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
114 KB
sha256:4a1207ecc3fc0ec7f44f1a322b0323227660133c7ca2157f7f71c4367f948bb0
database-live-tests-php-8.2-db-MySQLi Expired
11.3 MB
sha256:62667f918dae2fde44ed9cfe602299f3b3adcf99977ce0626c62366d888f126a
database-live-tests-php-8.2-db-OCI8 Expired
11.3 MB
sha256:6d9a6ba00fd27b970e26ac76b21ccc0d46e53b4e1cae2f1ef0970eebfb5048ab
database-live-tests-php-8.2-db-Postgre Expired
10.9 MB
sha256:6357f09b4d4ecc2e9c82182435bb9286f77d93ba731e0a7328308acf34877f2b
database-live-tests-php-8.2-db-SQLSRV Expired
11 MB
sha256:a338c75773c419009926e5826b5b717cf5c4d327d3765c928015065aff7ead5e
database-live-tests-php-8.2-db-SQLite3 Expired
10.9 MB
sha256:9b05cbce662ee6a807251d8e7ebaac35faf8923079d8f12d7d8957b02378ee46
sanity-tests-php-8.2-db-none Expired
27.4 MB
sha256:e6a1045acd92f4b6d0d7439dd2206f6a2ac3a6e7972b385a84833398d9162035
separate-process-tests-php-8.2-db-none Expired
2.9 MB
sha256:63c418e0b53da3d9408652d1b2afd3325ed9d5007b9b808fa657c6c25990c45a