chore: unifier les workflows qualité #6
Merged
Annotations
10 errors and 1 warning
|
PHPStan:
src/VirtualDirectory.php#L44
Method Kiboko\Component\Packaging\VirtualDirectory::getChildren() should return RecursiveIterator|null but returns Kiboko\Contract\Packaging\DirectoryInterface|Kiboko\Contract\Packaging\FileInterface.
|
|
PHPStan:
src/VirtualDirectory.php#L41
Method Kiboko\Component\Packaging\VirtualDirectory::getChildren() return type with generic interface RecursiveIterator does not specify its types: TKey, TValue
|
|
PHPStan:
src/VirtualDirectory.php#L41
Method Kiboko\Component\Packaging\VirtualDirectory::getChildren() never returns null so it can be removed from the return type.
|
|
PHPStan:
src/TarArchive.php#L118
Method Kiboko\Component\Packaging\TarArchive::asResource() should return resource but returns resource|false.
|
|
PHPStan:
src/TarArchive.php#L115
Parameter #1 $stream of function fseek expects resource, resource|false given.
|
|
PHPStan:
src/TarArchive.php#L113
Parameter #1 $stream of function fwrite expects resource, resource|false given.
|
|
PHPStan:
src/TarArchive.php#L112
Parameter #2 $to of function stream_copy_to_stream expects resource, resource|false given.
|
|
PHPStan:
src/TarArchive.php#L50
Cannot access offset 'size' on array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...}|false.
|
|
PHPStan:
src/TarArchive.php#L14
Constant Kiboko\Component\Packaging\TarArchive::TYPE_LINK is unused.
|
|
PHPStan:
src/Directory.php#L12
Property Kiboko\Component\Packaging\Directory::$iterator with generic interface RecursiveIterator does not specify its types: TKey, TValue
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Loading