Skip to content

refactor: Fix phpstan if.condNotBoolean #12755

refactor: Fix phpstan if.condNotBoolean

refactor: Fix phpstan if.condNotBoolean #12755

Triggered via pull request January 3, 2025 20:59
Status Success
Total duration 14m 6s
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
36s
Upload coverage results to Coveralls / coveralls
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
Others (8.2) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L453
Took 0.5693s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientLandscape
Others (8.2) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L472
Took 0.5686s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientPortrait
Others (8.2) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L356
Took 0.5676s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageCreation
DatabaseLive (8.2, Postgre, 8.0) / tests: tests/system/Commands/CreateDatabaseTest.php#L72
Took 0.7441s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLite3, 8.0) / tests: tests/system/Commands/CreateDatabaseTest.php#L72
Took 0.5568s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
SeparateProcess (8.2) / tests: tests/system/Commands/GenerateKeyTest.php#L77
Took 0.5379s from 0.5000s limit to run CodeIgniter\\Commands\\GenerateKeyTest::testGenerateKeyShowsEncodedKey
DatabaseLive (8.2, SQLSRV, 8.0) / tests: tests/system/Commands/DatabaseCommandsTest.php#L103
Took 1.2366s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testSeed
DatabaseLive (8.2, SQLSRV, 8.0) / tests: tests/system/Commands/CreateDatabaseTest.php#L72
Took 0.8186s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: tests/system/Commands/Database/MigrateStatusTest.php#L77
Took 0.6326s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, MySQLi, 8.0) / tests: tests/system/Commands/CreateDatabaseTest.php#L72
Took 0.6058s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L494
Took 2.7930s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L1676
Took 1.4303s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Commands/Database/MigrateStatusTest.php#L77
Took 1.2515s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Models/SaveModelTest.php#L270
Took 1.1630s from 0.5000s limit to run CodeIgniter\\Models\\SaveModelTest::testSaveNewEntityWithDate
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/ConnectTest.php#L97
Took 1.0990s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ConnectTest::testConnectWithFailover
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L1236
Took 1.0407s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L1583
Took 0.8316s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Models/InsertModelTest.php#L70
Took 0.8255s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertBatchUseAutoIncrementSetToFalse
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Models/InsertModelTest.php#L239
Took 0.7563s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertPermitInsertNoData
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/UpdateTest.php#L662
Took 0.7059s from 0.5000s limit to run CodeIgniter\\Database\\Live\\UpdateTest::testUpdateBatchWithQuery

Artifacts

Produced during runtime
Name Size Digest
cache-live-tests-php-8.2-db-none Expired
120 KB
sha256:51f96863f868cec849032c335e1b6bafb822a941762ef2847f9726c1be388124
database-live-tests-php-8.2-db-MySQLi Expired
10.9 MB
sha256:e6b610ed08a309fe3de43eb86e87d1b6b87475035c92e1069f63677444a6cbeb
database-live-tests-php-8.2-db-OCI8 Expired
11.1 MB
sha256:a269de95fe11b01e62c9efe02b9096759d876c87a65153f3f7bcddc996cdb9f1
database-live-tests-php-8.2-db-Postgre Expired
10.7 MB
sha256:ed24acb6657fd82bebcd3432b337467410311d48fb2455636b5d2087c7609d25
database-live-tests-php-8.2-db-SQLSRV Expired
10.8 MB
sha256:29cbe50a46f687045dc2376e82060959d712b620ec04fe191c899e9484ad7653
database-live-tests-php-8.2-db-SQLite3 Expired
10.7 MB
sha256:156fa47352e09fec4a1d5daa934fb7445553149e974914a3451cfe3c0a5888a3
sanity-tests-php-8.2-db-none Expired
26.7 MB
sha256:6c8cee2243084848414ff026fec7a2daa13ec39c1a92fe552456947b1b71cd6d
separate-process-tests-php-8.2-db-none Expired
2.87 MB
sha256:a22db1828a0fd52fbefe0cb82c525f44f3304b1755c4ad94df7a42b6e5dede84