Skip to content

refactor: Fix phpstan booleanAnd.rightAlwaysTrue #12811

refactor: Fix phpstan booleanAnd.rightAlwaysTrue

refactor: Fix phpstan booleanAnd.rightAlwaysTrue #12811

Triggered via pull request January 7, 2025 18:35
Status Success
Total duration 13m 58s
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
43s
Upload coverage results to Coveralls / coveralls
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
Others (8.2) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L356
Took 0.9818s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageCreation
Others (8.2) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L453
Took 0.5735s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientLandscape
Others (8.2) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L472
Took 0.5278s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientPortrait
Others (8.2) / Sanity Tests: tests/system/API/ResponseTraitTest.php#L137
Took 0.5077s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testNoFormatterJSON
DatabaseLive (8.2, Postgre, 8.0) / tests: tests/system/Commands/CreateDatabaseTest.php#L72
Took 0.8340s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
SeparateProcess (8.2) / tests: tests/system/Commands/GenerateKeyTest.php#L77
Took 0.6253s from 0.5000s limit to run CodeIgniter\\Commands\\GenerateKeyTest::testGenerateKeyShowsEncodedKey
DatabaseLive (8.2, SQLite3, 8.0) / tests: tests/system/Commands/CreateDatabaseTest.php#L72
Took 0.6278s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 8.0) / tests: tests/system/Commands/CreateDatabaseTest.php#L72
Took 0.7341s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 8.0) / tests: tests/system/Commands/Database/MigrateStatusTest.php#L77
Took 0.5010s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, SQLSRV, 8.0) / tests: tests/system/Commands/CreateDatabaseTest.php#L72
Took 0.9816s 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.6191s 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 2.7737s 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.4326s 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.2314s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
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/Database/Live/ForgeTest.php#L1236
Took 1.0329s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/UpsertTest.php#L714
Took 0.9618s from 0.5000s limit to run CodeIgniter\\Database\\Live\\UpsertTest::testUpsertBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Models/WhenWhenNotModelTest.php#L25
Took 0.8524s from 0.5000s limit to run CodeIgniter\\Models\\WhenWhenNotModelTest::testWhenWithTrueCondition
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/InsertTest.php#L53
Took 0.8427s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L1583
Took 0.8284s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Models/InsertModelTest.php#L52
Took 0.8274s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertBatchSuccess

Artifacts

Produced during runtime
Name Size Digest
cache-live-tests-php-8.2-db-none Expired
121 KB
sha256:403396170a2e37ecd32dc112a7153cb5993b37e19e93faacb636316e985b7a78
database-live-tests-php-8.2-db-MySQLi Expired
10.9 MB
sha256:e2f615b39522d60fa66ceb689087124cecc7b0fdfd5709442713479d63f86076
database-live-tests-php-8.2-db-OCI8 Expired
11.1 MB
sha256:c67f9f3fc7e743d01362e3365ad4e0324a5e6ff5d77bc5ab4f222cccee1d00df
database-live-tests-php-8.2-db-Postgre Expired
10.7 MB
sha256:26258c7abee9410ec9c5188273476a8904623c06156a9c6c42cd35fc36be1a9e
database-live-tests-php-8.2-db-SQLSRV Expired
10.8 MB
sha256:a69fadf7a20db16082dc773005af43fb30a60080df661ebfe598735fc8b84bf5
database-live-tests-php-8.2-db-SQLite3 Expired
10.7 MB
sha256:480068dc9679b9dec83b57a90f66f8f372fa3f080082599ee5ef4111f44df697
sanity-tests-php-8.2-db-none Expired
26.7 MB
sha256:8af4423479f7bcda4e0135e4653c7b48dbfe54a18fda350e6c48bfa51b065e3a
separate-process-tests-php-8.2-db-none Expired
2.87 MB
sha256:e972fbcf82237a6691232d8ba42a937281a0ce2474949da1fab018408a61f14f