Skip to content

refactor: Fix phpstan errors parameterByRef.unusedType #13031

refactor: Fix phpstan errors parameterByRef.unusedType

refactor: Fix phpstan errors parameterByRef.unusedType #13031

Triggered via pull request March 10, 2025 20:55
Status Success
Total duration 14m 48s
Artifacts 8

test-phpunit.yml

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

Annotations

27 warnings
Others (8.2) / Sanity Tests: tests/system/API/ResponseTraitTest.php#L133
Took 2.9148s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testNoFormatterJSON
Others (8.2) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L356
Took 0.9939s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageCreation
Others (8.2) / Sanity Tests: tests/system/CLI/ConsoleTest.php#L69
Took 0.7102s from 0.5000s limit to run CodeIgniter\\CLI\\ConsoleTest::testRun
Others (8.2) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L453
Took 0.5638s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientLandscape
Others (8.2) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L472
Took 0.5086s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientPortrait
CacheLive (8.2) / Cache Live Tests: tests/system/Cache/Handlers/AbstractHandlerTestCase.php#L35
Took 2.8303s from 0.5000s limit to run CodeIgniter\\Cache\\Handlers\\MemcachedHandlerTest::testGetMetaData
DatabaseLive (8.2, SQLite3, 8.0) / tests: tests/system/Commands/CreateDatabaseTest.php#L72
Took 3.8594s 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.8177s 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.2229s 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.6406s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
SeparateProcess (8.2) / tests: tests/system/Commands/GenerateKeyTest.php#L77
Took 3.6903s from 0.5000s limit to run CodeIgniter\\Commands\\GenerateKeyTest::testGenerateKeyShowsEncodedKey
DatabaseLive (8.2, MySQLi, 8.0) / tests: tests/system/Commands/CreateDatabaseTest.php#L72
Took 4.1096s 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.6777s 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.4702s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: tests/system/Commands/Database/MigrateStatusTest.php#L77
Took 0.7604s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, SQLSRV, 8.0) / tests: tests/system/Commands/DatabaseCommandsTest.php#L45
Took 0.5352s 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.5326s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateRefresh
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Commands/CreateDatabaseTest.php#L72
Took 3.1414s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L494
Took 2.8382s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Commands/Database/MigrateStatusTest.php#L77
Took 2.3616s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L1676
Took 1.4135s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/ConnectTest.php#L97
Took 1.0910s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ConnectTest::testConnectWithFailover
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L1236
Took 1.0586s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Models/EventsModelTest.php#L37
Took 0.9264s 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 0.9184s from 0.5000s limit to run CodeIgniter\\Database\\Live\\FabricatorLiveTest::testCreateAddsToDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/InsertTest.php#L53
Took 0.8692s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Models/WhenWhenNotModelTest.php#L25
Took 0.8333s from 0.5000s limit to run CodeIgniter\\Models\\WhenWhenNotModelTest::testWhenWithTrueCondition

Artifacts

Produced during runtime
Name Size Digest
cache-live-tests-php-8.2-db-none Expired
182 KB
sha256:c7a4a45d053cbbd45c07611d5d42a35a5be80cf2838f25bac737fea4846e26b2
database-live-tests-php-8.2-db-MySQLi Expired
11.4 MB
sha256:4ae44036ed3b87dd133c8fee5f70d20cb44a1330e1d792704c89f6d084556568
database-live-tests-php-8.2-db-OCI8 Expired
11.5 MB
sha256:7a8546af90f6c2240eb16c30cc46fec317854358411648806242d0b278054f79
database-live-tests-php-8.2-db-Postgre Expired
11 MB
sha256:3c9271cda5763eb42b7970dad29a51dc3e30b0353b5728d27396d5a8e46af335
database-live-tests-php-8.2-db-SQLSRV Expired
11.1 MB
sha256:a8b3e93d73e72ec47ffac335d1a95e59c55d2488a346e047e8103fd2ce49a3e4
database-live-tests-php-8.2-db-SQLite3 Expired
11.1 MB
sha256:74965d0e5e15bc552ed9885ee6f35872fb0101d4219ec3a0dcd5add27f5bf072
sanity-tests-php-8.2-db-none Expired
27.6 MB
sha256:e12be459a9b8890d817130fb4828d54e0cea5dbbcf29d130ae68fab53882ef33
separate-process-tests-php-8.2-db-none Expired
3 MB
sha256:b38158b449c77431552d05f41ccc3c3e7bf4b87b667e2857516a6223c75626f8