Skip to content

refactor: fix PHPStan errors #12159

refactor: fix PHPStan errors

refactor: fix PHPStan errors #12159

Triggered via pull request August 15, 2024 23:26
Status Cancelled
Total duration 10m 34s
Artifacts 4

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
Upload coverage results to Coveralls / coveralls
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 23 warnings
DatabaseLive (8.3, MySQLi, 8.0) / tests
Process completed with exit code 2.
DatabaseLive (8.1, MySQLi, 5.7) / tests
Process completed with exit code 2.
DatabaseLive (8.1, MySQLi, 8.0) / tests
Process completed with exit code 2.
DatabaseLive (8.2, MySQLi, 8.0) / tests
Process completed with exit code 2.
DatabaseLive (8.1, Postgre, 8.0) / tests
Process completed with exit code 2.
DatabaseLive (8.3, Postgre, 8.0) / tests
Process completed with exit code 2.
DatabaseLive (8.2, Postgre, 8.0) / tests
Process completed with exit code 2.
SeparateProcess (8.1) / tests
Process completed with exit code 2.
SeparateProcess (8.3) / tests
FailFast: cancelling since parallel instance has failed
SeparateProcess (8.3) / tests
The operation was canceled.
SeparateProcess (8.2) / tests
FailFast: cancelling since parallel instance has failed
SeparateProcess (8.2) / tests
The operation was canceled.
DatabaseLive (8.1, SQLSRV, 8.0) / tests
Process completed with exit code 2.
DatabaseLive (8.3, SQLSRV, 8.0) / tests
Process completed with exit code 2.
DatabaseLive (8.2, SQLSRV, 8.0) / tests
Process completed with exit code 2.
Others (8.2) / Sanity Tests: tests/system/API/ResponseTraitTest.php#L137
Took 1.3436s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testNoFormatterJSON
Others (8.2) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L356
Took 1.2587s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageCreation
Others (8.2) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L453
Took 0.5475s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientLandscape
Others (8.2) / Sanity Tests: tests/system/Test/FabricatorTest.php#L496
Took 0.5254s from 0.5000s limit to run CodeIgniter\\Test\\FabricatorTest::testUniqueSetsOutUniqueFieldValues
Others (8.2) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L472
Took 0.5219s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientPortrait
CacheLive (8.2) / Cache Live Tests: tests/system/Cache/Handlers/AbstractHandlerTestCase.php#L35
Took 1.2781s from 0.5000s limit to run CodeIgniter\\Cache\\Handlers\\MemcachedHandlerTest::testGetMetaData
DatabaseLive (8.2, MySQLi, 8.0) / tests: tests/system/Commands/CreateDatabaseTest.php#L72
Took 1.9442s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLite3, 8.0) / tests: tests/system/Commands/CreateDatabaseTest.php#L72
Took 1.6227s 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.6569s 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 1.9607s 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.5209s 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 2.0536s 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.6216s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L491
Took 2.8135s 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 1.4982s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Commands/Database/MigrateStatusTest.php#L77
Took 1.4893s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L1668
Took 1.4061s 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.0888s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ConnectTest::testConnectWithFailover
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L1233
Took 1.0118s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/InsertTest.php#L52
Took 0.8445s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Models/InsertModelTest.php#L52
Took 0.8426s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertBatchSuccess
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Models/WhenWhenNotModelTest.php#L25
Took 0.8274s from 0.5000s limit to run CodeIgniter\\Models\\WhenWhenNotModelTest::testWhenWithTrueCondition
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L1581
Took 0.8166s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey

Artifacts

Produced during runtime
Name Size
cache-live-tests-php-8.2-db-none Expired
141 KB
database-live-tests-php-8.2-db-OCI8 Expired
11 MB
database-live-tests-php-8.2-db-SQLite3 Expired
10.7 MB
sanity-tests-php-8.2-db-none Expired
26.9 MB