refactor: fix non-booleans in if conditions #13305
test-phpunit.yml
on: pull_request
Setup PHP Version for Code Coverage
2s
Matrix: Others
Matrix: CacheLive
Matrix: DatabaseLive
Matrix: SeparateProcess
Upload coverage results to Coveralls
/
coveralls
Annotations
2 errors and 21 warnings
|
DatabaseLive (8.1, MySQLi, 5.7) / tests
Process completed with exit code 1.
|
|
DatabaseLive (8.1, MySQLi, 5.7) / tests
Failed to execute git clone --no-checkout /home/runner/.cache/composer/vcs/https---github.com-phpstan-phpstan.git/ /home/runner/work/CodeIgniter4/CodeIgniter4/vendor/phpstan/phpstan --dissociate --reference /home/runner/.cache/composer/vcs/https---github.com-phpstan-phpstan.git/
Cloning into '/home/runner/work/CodeIgniter4/CodeIgniter4/vendor/phpstan/phpstan'...
done.
fatal: sha1 file '/home/runner/work/CodeIgniter4/CodeIgniter4/vendor/phpstan/phpstan/.git/objects/pack/tmp_pack_fGbg2l' write error. Out of diskspace
fatal: cannot repack to clean up
|
|
Others (8.2) / Sanity Tests:
/tests/system/Images/ImageMagickHandlerTest.php#L472
Took 0.5272s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientPortrait
|
|
Others (8.2) / Sanity Tests:
/tests/system/Images/ImageMagickHandlerTest.php#L453
Took 0.5681s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientLandscape
|
|
Others (8.2) / Sanity Tests:
/tests/system/Images/ImageMagickHandlerTest.php#L356
Took 1.1961s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageCreation
|
|
DatabaseLive (8.2, SQLite3, 8.0) / tests:
/tests/system/Commands/Database/MigrateStatusTest.php#L77
Took 0.7931s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
|
|
DatabaseLive (8.2, SQLite3, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L72
Took 3.7967s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Models/WhenWhenNotModelTest.php#L25
Took 0.8285s from 0.5000s limit to run CodeIgniter\\Models\\WhenWhenNotModelTest::testWhenWithTrueCondition
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Models/InsertModelTest.php#L52
Took 0.8369s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertBatchSuccess
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/InsertTest.php#L53
Took 0.8566s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/FabricatorLiveTest.php#L34
Took 0.9139s from 0.5000s limit to run CodeIgniter\\Database\\Live\\FabricatorLiveTest::testCreateAddsToDatabase
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1236
Took 1.0308s 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.1003s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ConnectTest::testConnectWithFailover
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1676
Took 1.4064s 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 2.2442s 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.7998s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L72
Took 3.1187s 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.7415s 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 4.0424s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Commands/DatabaseCommandsTest.php#L45
Took 0.5782s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrate
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Commands/DatabaseCommandsTest.php#L83
Took 0.6167s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateRefresh
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Commands/Database/MigrateStatusTest.php#L77
Took 0.7837s 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 4.3092s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
cache-live-tests-php-8.2-db-none
Expired
|
117 KB |
sha256:582c337da73265c601dd01bb499e367b1e1970ad88fdc0f00c9766123da50a24
|
|
|
database-live-tests-php-8.2-db-MySQLi
Expired
|
11.4 MB |
sha256:b7bfe73a01a03053c9b465e18b4701b67d3d2beb60dd3fcfb35f70aac6cb5457
|
|
|
database-live-tests-php-8.2-db-OCI8
Expired
|
11.4 MB |
sha256:ef8263df9d543ddb158c3e883bc764032f59d7771c75eeaac34ccb4d86570ddb
|
|
|
database-live-tests-php-8.2-db-Postgre
Expired
|
10.9 MB |
sha256:bbf5b1b7e25ce81716612f3632662aef42a79596e6a723a5c28b2ec9d62ba48d
|
|
|
database-live-tests-php-8.2-db-SQLSRV
Expired
|
11.1 MB |
sha256:356b87caef0bbc9d34c8a5ebd7538ec43ef377ca85a7cca66d11b0585e5a49b8
|
|
|
database-live-tests-php-8.2-db-SQLite3
Expired
|
11.1 MB |
sha256:ac8d3123d5c18f0185bfc8e2e147d4415fa90e5116b2a8d60fcda1bba604e248
|
|
|
sanity-tests-php-8.2-db-none
Expired
|
27.5 MB |
sha256:74c5612c93ee057e5adfe4326cf413703bef85ae2da16946f0320711ef6d9312
|
|
|
separate-process-tests-php-8.2-db-none
Expired
|
2.9 MB |
sha256:5d55e06ae245d27d41fbc5eab68f404fd52782f9897fe7d9f43caacef82a40ec
|
|