Skip to content

refactor: use ternary operators in Helpers #10842

refactor: use ternary operators in Helpers

refactor: use ternary operators in Helpers #10842

Triggered via pull request February 10, 2024 13:39
Status Success
Total duration 14m 32s
Artifacts 8

test-phpunit.yml

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

Annotations

21 warnings
Others (8.1) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L425
Took 0.58s from 0.50s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientLandscape
Others (8.1) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L444
Took 0.52s from 0.50s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientPortrait
DatabaseLive (8.1, SQLSRV, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L443
Took 0.62s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.1, SQLSRV, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L733
Took 0.59s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropForeignKey
DatabaseLive (8.1, SQLSRV, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L1620
Took 0.59s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.1, SQLSRV, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L387
Took 0.55s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testRenameTable
DatabaseLive (8.1, SQLSRV, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L50
Took 0.54s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabase
DatabaseLive (8.1, SQLSRV, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L60
Took 0.52s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExists
DatabaseLive (8.1, SQLSRV, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L134
Took 0.52s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateTable
DatabaseLive (8.1, SQLSRV, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L547
Took 0.51s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCompositeForeignKey
DatabaseLive (8.1, SQLSRV, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L1735
Took 0.50s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexesWithForeignKeyOnly
DatabaseLive (8.1, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L443
Took 3.21s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.1, OCI8, 8.0) / tests: tests/system/Commands/Database/MigrateStatusTest.php#L97
Took 1.74s from 0.50s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateWithWithTwoNamespaces
DatabaseLive (8.1, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L1620
Took 1.70s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.1, OCI8, 8.0) / tests: tests/system/Database/Live/ConnectTest.php#L95
Took 1.36s from 0.50s limit to run CodeIgniter\\Database\\Live\\ConnectTest::testConnectWithFailover
DatabaseLive (8.1, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L1185
Took 1.34s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
DatabaseLive (8.1, OCI8, 8.0) / tests: tests/system/Models/WhenWhenNotModelTest.php#L23
Took 1.19s from 0.50s limit to run CodeIgniter\\Models\\WhenWhenNotModelTest::testWhenWithTrueCondition
DatabaseLive (8.1, OCI8, 8.0) / tests: tests/system/Database/Live/InsertTest.php#L50
Took 1.17s from 0.50s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
DatabaseLive (8.1, OCI8, 8.0) / tests: tests/system/Models/InsertModelTest.php#L33
Took 1.16s from 0.50s limit to run CodeIgniter\\Models\\InsertModelTest::testSetWorksWithInsert
DatabaseLive (8.1, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L1533
Took 1.13s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.1, OCI8, 8.0) / tests: tests/system/Models/InsertModelTest.php#L237
Took 1.09s from 0.50s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertPermitInsertNoData

Artifacts

Produced during runtime
Name Size
cache-live-tests-php-8.1-db-none Expired
183 KB
database-live-tests-php-8.1-db-MySQLi Expired
10.1 MB
database-live-tests-php-8.1-db-OCI8 Expired
10.3 MB
database-live-tests-php-8.1-db-Postgre Expired
9.9 MB
database-live-tests-php-8.1-db-SQLSRV Expired
9.9 MB
database-live-tests-php-8.1-db-SQLite3 Expired
9.94 MB
sanity-tests-php-8.1-db-none Expired
26.7 MB
separate-process-tests-php-8.1-db-none Expired
3.15 MB