Skip to content

feat: Add isAvailable() method to AbstractCommand #15169

feat: Add isAvailable() method to AbstractCommand

feat: Add isAvailable() method to AbstractCommand #15169

Triggered via pull request May 22, 2026 10:25
Status Success
Total duration 18m 32s
Artifacts 9

test-phpunit.yml

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

Annotations

1 error and 28 warnings
DatabaseLive (8.5, OCI8, 8.0) / tests
Process completed with exit code 2.
Others (8.2) / Sanity Tests: /tests/system/CLI/AbstractCommandTest.php#L73
Took 0.8655s from 0.5000s limit to run CodeIgniter\\CLI\\AbstractCommandTest::testConstructorSetsNeededProperties
Others (8.2) / Sanity Tests: /tests/system/Images/GDHandlerTest.php#L442
Took 0.9456s from 0.5000s limit to run CodeIgniter\\Images\\GDHandlerTest::testImageConvertPngToAvif
Others (8.2) / Sanity Tests: /tests/system/CodeIgniterTest.php#L987
Took 1.0576s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
Others (8.2) / Sanity Tests: /tests/system/API/ResponseTraitTest.php#L158
Took 2.1066s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testNoFormatterJSON
CacheLive (8.2) / Cache Live Tests: /tests/system/Cache/Handlers/AbstractHandlerTestCase.php#L30
Took 2.0153s from 0.5000s limit to run CodeIgniter\\Cache\\Handlers\\ApcuHandlerTest::testGetMetaDataMiss
DatabaseLive (8.2, SQLite3, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L63
Took 0.6849s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, SQLite3, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 2.7334s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
SeparateProcess (8.2) / tests: /tests/system/Commands/Encryption/GenerateKeyTest.php#L80
Took 2.1311s from 0.5000s limit to run CodeIgniter\\Commands\\Encryption\\GenerateKeyTest::testGenerateKeyShowsEncodedKey
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L63
Took 0.6659s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 3.1926s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L63
Took 0.5778s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 2.8718s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L63
Took 0.5651s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 2.8709s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L63
Took 0.7366s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L92
Took 3.1579s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExists
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L63
Took 3.3285s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 3.5138s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/UpdateTest.php#L665
Took 1.1998s from 0.5000s limit to run CodeIgniter\\Database\\Live\\UpdateTest::testUpdateBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/EventsModelTest.php#L37
Took 1.2232s from 0.5000s limit to run CodeIgniter\\Models\\EventsModelTest::testInsertEvent
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/FabricatorLiveTest.php#L34
Took 1.2975s from 0.5000s limit to run CodeIgniter\\Database\\Live\\FabricatorLiveTest::testCreateAddsToDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1583
Took 1.3920s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L238
Took 1.5563s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1236
Took 1.7963s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.8550s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1680
Took 1.8766s 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 3.3805s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L63
Took 3.8397s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces

Artifacts

Produced during runtime
Name Size Digest
cache-live-tests-php-8.2-db-none Expired
209 KB
sha256:3d903b4e15369909524f762f293f5a29b5188eaea9b040f5a46fded968428b30
database-live-tests-php-8.2-db-MySQLi5.7 Expired
16.5 MB
sha256:143144d85f97d4aa804a4e39946d3c17e125019fb8e80fd1f216b28a86755e5c
database-live-tests-php-8.2-db-MySQLi8.0 Expired
16.5 MB
sha256:11ccfe397ab9bb7e019ef8541779f470929d9ac3222231925ed17f0745fd8be3
database-live-tests-php-8.2-db-OCI88.0 Expired
16.6 MB
sha256:e94cf81471c301329deb7da2cbea90accb218b63a4622b569c1e68f17e19e5aa
database-live-tests-php-8.2-db-Postgre8.0 Expired
16 MB
sha256:50ca48dba3357e9ab9dacf9742d76bdc034f5d570caed17c95c132eae86248c3
database-live-tests-php-8.2-db-SQLSRV8.0 Expired
16.2 MB
sha256:aaa11db3e67779bd39db22dd0d15b4291208f65107af05621cc41fc7f6c60d16
database-live-tests-php-8.2-db-SQLite38.0 Expired
16.1 MB
sha256:8fbd06b8a326ec53683b9f242d631b39042cfae2d4a083f49c91ef3d0a4d2bfe
sanity-tests-php-8.2-db-none Expired
36.2 MB
sha256:8c8eb368d1d8aa9ca71efed22fbf9ed8fa70c2fc1296e7099ddba3efe6ad65ed
separate-process-tests-php-8.2-db-none Expired
3.67 MB
sha256:7f9ccb306c972cfe1e21ad12bc2a079da9272733ab1d37bcd01cb34b750f3b8b