Skip to content

Updated composer dependencies #32

Updated composer dependencies

Updated composer dependencies #32

Triggered via push November 20, 2023 16:41
Status Failure
Total duration 1m 2s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

phpstan8.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/Directory.php#L12
Property Kiboko\Component\Packaging\Directory::$iterator with generic interface RecursiveIterator does not specify its types: TKey, TValue
phpstan: src/TarArchive.php#L14
Constant Kiboko\Component\Packaging\TarArchive::TYPE_LINK is unused.
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#L112
Parameter #2 $to of function stream_copy_to_stream 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#L115
Parameter #1 $stream of function fseek expects resource, resource|false given.
phpstan: src/TarArchive.php#L118
Method Kiboko\Component\Packaging\TarArchive::asResource() should return resource but returns resource|false.
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#L44
Method Kiboko\Component\Packaging\VirtualDirectory::getChildren() should return RecursiveIterator|null but returns Kiboko\Contract\Packaging\DirectoryInterface|Kiboko\Contract\Packaging\FileInterface.
phpstan
Process completed with exit code 1.