Skip to content

refactor: Fix phpstan errors parameterByRef.unusedType #13052

refactor: Fix phpstan errors parameterByRef.unusedType

refactor: Fix phpstan errors parameterByRef.unusedType #13052

Triggered via pull request March 18, 2025 18:14
Status Success
Total duration 15m 32s
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
1m 0s
Upload coverage results to Coveralls / coveralls
Fit to window
Zoom out
Zoom in

Annotations

26 warnings
Others (8.2) / Sanity Tests: /tests/system/Images/ImageMagickHandlerTest.php#L472
Took 0.5615s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientPortrait
Others (8.2) / Sanity Tests: /tests/system/Images/ImageMagickHandlerTest.php#L453
Took 0.5708s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientLandscape
Others (8.2) / Sanity Tests: /tests/system/CLI/ConsoleTest.php#L69
Took 0.7299s from 0.5000s limit to run CodeIgniter\\CLI\\ConsoleTest::testRun
Others (8.2) / Sanity Tests: /tests/system/API/ResponseTraitTest.php#L133
Took 2.9708s 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.8621s from 0.5000s limit to run CodeIgniter\\Cache\\Handlers\\MemcachedHandlerTest::testGetMetaData
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L77
Took 0.6083s 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.0608s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
SeparateProcess (8.2) / tests: /tests/system/Commands/GenerateKeyTest.php#L77
Took 3.5265s from 0.5000s limit to run CodeIgniter\\Commands\\GenerateKeyTest::testGenerateKeyShowsEncodedKey
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/FabricatorLiveTest.php#L90
Took 0.7360s from 0.5000s limit to run CodeIgniter\\Database\\Live\\FabricatorLiveTest::testCreateThrowsOnFailure
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1583
Took 0.7999s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/WhenWhenNotModelTest.php#L25
Took 0.8589s from 0.5000s limit to run CodeIgniter\\Models\\WhenWhenNotModelTest::testWhenWithTrueCondition
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/FabricatorLiveTest.php#L34
Took 0.8834s 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.0213s 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.0925s 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.4173s 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.1337s 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.8259s 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.0710s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLite3, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L77
Took 0.8649s 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.6314s 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.6506s 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.1081s 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.5538s 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.5539s 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.7447s 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.2209s 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
182 KB
sha256:faa55916fa7168b17e2e4d06c3a948a6ff7f8ec52af3f08cd85bb3d0686164f6
database-live-tests-php-8.2-db-MySQLi Expired
11.4 MB
sha256:4c12f5769a7d373dda816f9a8f95f90165096c8f2b65b7c7655dee54a64cda72
database-live-tests-php-8.2-db-OCI8 Expired
11.5 MB
sha256:2fac3e83ddea1d92fd253f0ab70e7949151f177ce4b1a1f5c261d9d8b4b55982
database-live-tests-php-8.2-db-Postgre Expired
11 MB
sha256:13ee1419b764fb43a115a63438609d65eb5875d77ef9889eed822a4597a91c32
database-live-tests-php-8.2-db-SQLSRV Expired
11.1 MB
sha256:022dfab10274c4f3681e00ffc421fbc946a8d56dd3ab2518b2891a30bf35f7db
database-live-tests-php-8.2-db-SQLite3 Expired
11.1 MB
sha256:5f060943578e8b8bdfb762317bba289b0dbfd0455f8ef988806305be95dde573
sanity-tests-php-8.2-db-none Expired
27.6 MB
sha256:bfa80c31f4abdc6fbc12a7623b91419167a6d2fc9b0403f9053163347bc8e6af
separate-process-tests-php-8.2-db-none Expired
3 MB
sha256:3ba2f1ffdc1ac064501948b926ecb13db26f782c03f45981e8ac58e5de8c5682