Skip to content

refactor: fix various phpstan errors in Cache #13376

refactor: fix various phpstan errors in Cache

refactor: fix various phpstan errors in Cache #13376

Triggered via pull request June 24, 2025 18:48
Status Success
Total duration 14m 54s
Artifacts 8

test-phpunit.yml

on: pull_request
Setup PHP Version for Code Coverage
2s
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

24 warnings
Others (8.2) / Sanity Tests: /tests/system/Images/ImageMagickHandlerTest.php#L472
Took 0.5552s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientPortrait
Others (8.2) / Sanity Tests: /tests/system/Images/ImageMagickHandlerTest.php#L453
Took 0.5795s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientLandscape
Others (8.2) / Sanity Tests: /tests/system/CLI/ConsoleTest.php#L69
Took 0.7501s from 0.5000s limit to run CodeIgniter\\CLI\\ConsoleTest::testRun
Others (8.2) / Sanity Tests: /tests/system/API/ResponseTraitTest.php#L141
Took 3.0194s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testNoFormatterJSON
SeparateProcess (8.2) / tests: /tests/system/Commands/GenerateKeyTest.php#L77
Took 3.6732s 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.8302s 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.9516s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
CacheLive (8.2) / Cache Live Tests: /tests/system/Cache/Handlers/AbstractHandlerTestCase.php#L35
Took 2.8527s from 0.5000s limit to run CodeIgniter\\Cache\\Handlers\\MemcachedHandlerTest::testGetMetaData
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L77
Took 0.7424s 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.3890s 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.7369s 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.1397s 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.6237s 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.2450s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/InsertModelTest.php#L52
Took 0.8339s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertBatchSuccess
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1583
Took 0.8414s 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.8638s 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.9251s 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.0565s 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.0946s 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.5324s 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.2744s 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.8665s 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.1986s 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:743382d6d26bdb0f65cf3f8a492dc74f6a80d2c0ff2a2e95a03212a51131a05f
database-live-tests-php-8.2-db-MySQLi Expired
11.5 MB
sha256:e182c6a3a5948baed6d843da0b17a75133dbc7491a48355eed8ce257bb00dfb4
database-live-tests-php-8.2-db-OCI8 Expired
11.5 MB
sha256:8f502d9754670bdc0fd1606a191203ee5ac367aca5e385c3ca6cf854b2e5bef5
database-live-tests-php-8.2-db-Postgre Expired
11.1 MB
sha256:f829a7c96fcca099d82774e9578cdd6f943467ca6f7cb0d7213929e1575033ad
database-live-tests-php-8.2-db-SQLSRV Expired
11.2 MB
sha256:be36dbddeaec168acb1d471bc21f9b3c5c29db3d46cf1bd6e5f8d68d37de9141
database-live-tests-php-8.2-db-SQLite3 Expired
11.1 MB
sha256:af83d5dc9b440dddafc90ba01be6d6f1fee012572aa908422f84e91d215adff7
sanity-tests-php-8.2-db-none Expired
27.9 MB
sha256:be15488fd5c9ff7826471cbd21f4a7aad54472a41ea47f09f097a715a5d07716
separate-process-tests-php-8.2-db-none Expired
3.04 MB
sha256:c2a00a39557157efa0da46977030ad3e694a6884c0a6f5c324bfaa23ae9bcdc7