Skip to content

Automation

Automation #2390

Triggered via schedule November 5, 2024 09:16
Status Success
Total duration 1m 14s
Artifacts

automation.yml

on: schedule
automation  /  Generate job matrix
8s
automation / Generate job matrix
Matrix: automation / qa
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 10 warnings
automation / [PHP8.3][locked]PHPUnit on windows: tests/Unit/FilesystemTest.php#L614
Failed asserting that file "D:\a\filesystem\filesystem\tests\Fixture\FilesystemTest\file.txt" does not exist.
automation / [PHP8.3][locked]PHPUnit on windows
Process completed with exit code 1.
automation / [PHP8.3][lowest]PHPUnit on windows: tests/Unit/FilesystemTest.php#L876
Failed asserting that file "D:\a\filesystem\filesystem\tests\Fixture\FilesystemTest\target.txt" does not exist.
automation / [PHP8.3][lowest]PHPUnit on windows
Process completed with exit code 1.
automation / [PHP8.3][latest]PHPUnit on windows: tests/Unit/FilesystemTest.php#L614
Failed asserting that file "D:\a\filesystem\filesystem\tests\Fixture\FilesystemTest\file.txt" does not exist.
automation / [PHP8.3][latest]PHPUnit on windows
Process completed with exit code 1.
LessSpecificReturnType: src/Filesystem.php#L254
src/Filesystem.php:254:25: LessSpecificReturnType: The inferred return type 'non-falsy-string' for /home/runner/work/filesystem/filesystem/src/filesystem.php:255:8897:-:closure is more specific than the declared return type 'non-empty-string' (see https://psalm.dev/088)
ArgumentTypeCoercion: src/Filesystem.php#L381
src/Filesystem.php:381:101: ArgumentTypeCoercion: Argument 2 of FilesystemIterator::__construct expects 0|16|32|48|256|272|288|304|4096|4112|4128|4144|4352|4368|4384|4400|8192|8208|8224|8240|8448|8464|8480|8496|12288|12304|12320|12336|12544|12560|12576|12592|16384|16400|16416|16432|16640|16656|16672|16688|20480|20496|20512|20528|20736|20752|20768|20784|24576|24592|24608|24624|24832|24848|24864|24880|28672|28688|28704|28720|28928|28944|28960|28976, but parent type int provided (see https://psalm.dev/193)
LessSpecificReturnType: src/Filesystem.php#L472
src/Filesystem.php:472:45: LessSpecificReturnType: The inferred return type 'non-falsy-string' for /home/runner/work/filesystem/filesystem/src/filesystem.php:472:14667:-:closure is more specific than the declared return type 'string' (see https://psalm.dev/088)
ArgumentTypeCoercion: src/Filesystem.php#L632
src/Filesystem.php:632:100: ArgumentTypeCoercion: Argument 2 of RecursiveDirectoryIterator::__construct expects 0|16|32|48|256|272|288|304|4096|4112|4128|4144|4352|4368|4384|4400|8192|8208|8224|8240|8448|8464|8480|8496|12288|12304|12320|12336|12544|12560|12576|12592|16384|16400|16416|16432|16640|16656|16672|16688|20480|20496|20512|20528|20736|20752|20768|20784|24576|24592|24608|24624|24832|24848|24864|24880|28672|28688|28704|28720|28928|28944|28960|28976, but parent type int provided (see https://psalm.dev/193)
LessSpecificReturnType: src/Filesystem.php#L645
src/Filesystem.php:645:81: LessSpecificReturnType: The inferred return type 'Generator<non-empty-string, Ghostwriter\Filesystem\Interface\PathInterface, mixed, void>' for /home/runner/work/filesystem/filesystem/src/filesystem.php:645:19611:-:closure is more specific than the declared return type 'Generator' (see https://psalm.dev/088)
LessSpecificReturnType: src/Filesystem.php#L673
src/Filesystem.php:673:27: LessSpecificReturnType: The inferred return type 'RecursiveIteratorIterator<RecursiveIterator>' for /home/runner/work/filesystem/filesystem/src/filesystem.php:673:20525:-:closure is more specific than the declared return type 'RecursiveIteratorIterator' (see https://psalm.dev/088)
ArgumentTypeCoercion: src/Filesystem.php#L687
src/Filesystem.php:687:101: ArgumentTypeCoercion: Argument 3 of RecursiveRegexIterator::__construct expects 1|2|3|4|RecursiveRegexIterator::MATH, but parent type int provided (see https://psalm.dev/193)
LessSpecificReturnType: src/Filesystem.php#L698
src/Filesystem.php:698:58: LessSpecificReturnType: The inferred return type 'RegexIterator<IteratorAggregate|RecursiveIterator, mixed, RecursiveIteratorIterator<IteratorAggregate|RecursiveIterator>>' for /home/runner/work/filesystem/filesystem/src/filesystem.php:698:21254:-:closure is more specific than the declared return type 'RegexIterator' (see https://psalm.dev/088)
PossiblyUndefinedArrayOffset: src/Filesystem.php#L741
src/Filesystem.php:741:38: PossiblyUndefinedArrayOffset: Possibly undefined array key $relPath[0] on list{0?: string, ...<string>} (see https://psalm.dev/167)
PossiblyUnusedReturnValue: src/Filesystem.php#L822
src/Filesystem.php:822:60: PossiblyUnusedReturnValue: The return value for this method is never used (see https://psalm.dev/273)