refactor: fix various phpstan errors in Cache (#9610) #13382
test-phpunit.yml
on: push
Setup PHP Version for Code Coverage
2s
Matrix: Others
Matrix: CacheLive
Matrix: DatabaseLive
Matrix: SeparateProcess
Upload coverage results to Coveralls
/
coveralls
42s
Annotations
27 warnings
|
Others (8.2) / Sanity Tests:
/tests/system/Images/ImageMagickHandlerTest.php#L472
Took 0.5525s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientPortrait
|
|
Others (8.2) / Sanity Tests:
/tests/system/Images/ImageMagickHandlerTest.php#L453
Took 0.5750s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientLandscape
|
|
Others (8.2) / Sanity Tests:
/tests/system/CLI/ConsoleTest.php#L69
Took 0.7146s from 0.5000s limit to run CodeIgniter\\CLI\\ConsoleTest::testRun
|
|
Others (8.2) / Sanity Tests:
/tests/system/Images/ImageMagickHandlerTest.php#L356
Took 0.7175s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageCreation
|
|
Others (8.2) / Sanity Tests:
/tests/system/API/ResponseTraitTest.php#L141
Took 2.9802s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testNoFormatterJSON
|
|
CacheLive (8.2) / Cache Live Tests:
/tests/system/Cache/Handlers/AbstractHandlerTestCase.php#L35
Took 2.9114s from 0.5000s limit to run CodeIgniter\\Cache\\Handlers\\MemcachedHandlerTest::testGetMetaData
|
|
SeparateProcess (8.2) / tests:
/tests/system/Commands/GenerateKeyTest.php#L77
Took 3.5815s from 0.5000s limit to run CodeIgniter\\Commands\\GenerateKeyTest::testGenerateKeyShowsEncodedKey
|
|
DatabaseLive (8.2, SQLite3, 8.0) / tests:
/tests/system/Commands/Database/MigrateStatusTest.php#L77
Took 0.7973s 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.7860s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, Postgre, 8.0) / tests:
/tests/system/Commands/Database/MigrateStatusTest.php#L77
Took 0.6752s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
|
|
DatabaseLive (8.2, Postgre, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L72
Took 4.1342s 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.6668s 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.0710s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1583
Took 0.8280s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/InsertTest.php#L53
Took 0.8613s 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.9007s from 0.5000s limit to run CodeIgniter\\Database\\Live\\FabricatorLiveTest::testCreateAddsToDatabase
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Models/InsertModelTest.php#L35
Took 0.9442s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testSetWorksWithInsert
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1236
Took 1.0397s 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.0912s 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.4483s 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.2139s 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.8597s 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.1795s 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.5799s 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.6034s 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.8756s 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.3174s 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
|
185 KB |
sha256:04872869e95b730b1314f02510592d55b8b1b1b80491e542787157f4355e6552
|
|
|
database-live-tests-php-8.2-db-MySQLi
Expired
|
11.5 MB |
sha256:e14f0a50118988ccd4e6fc2b759655ba620d02d887bef5f3a7442ad1ec5284dd
|
|
|
database-live-tests-php-8.2-db-OCI8
Expired
|
11.5 MB |
sha256:2e973b685fb5e0b45bc184a4beb559d1567e465c54bc5ea7a710cbf293b030ae
|
|
|
database-live-tests-php-8.2-db-Postgre
Expired
|
11.1 MB |
sha256:ffc4869e15526243055da6c5067e7fc75b52321202bfbc24d144dd034a6228ab
|
|
|
database-live-tests-php-8.2-db-SQLSRV
Expired
|
11.2 MB |
sha256:69ee1ad190ca9268f9b9263e86d6053644af27c7ad97b98140f30967356c0fd6
|
|
|
database-live-tests-php-8.2-db-SQLite3
Expired
|
11.1 MB |
sha256:8ca952853ae0681852c841dee2dae2fc7abf1c76318aeef30a5c4995a53d68c6
|
|
|
sanity-tests-php-8.2-db-none
Expired
|
27.9 MB |
sha256:5a5f0cd924172742e94adbf0c5041deff618a059a2d53a91386b835d480264c3
|
|
|
separate-process-tests-php-8.2-db-none
Expired
|
3.04 MB |
sha256:57f24b900671e8a368084ae488d4a3fb5ba758691fdc55d7e43d5be708830560
|
|