Refactor Rename #829
continuous-integration.yml
on: pull_request
ci
/
Generate job matrix
6s
Matrix: ci / QA Checks
Annotations
10 errors and 13 warnings
MissingTemplateParam:
src/File/Rename.php#L33
src/File/Rename.php:33:31: MissingTemplateParam: Laminas\Filter\File\Rename has missing template params when extending Laminas\Filter\FilterInterface, expecting 1 (see https://psalm.dev/182)
|
InvalidArgument:
src/File/Rename.php#L56
src/File/Rename.php:56:24: InvalidArgument: Argument 1 of Laminas\Filter\File\Rename::addFile expects array{overwrite?: bool, randomize?: bool, source?: string, target: string}|string, but array{file?: array{overwrite?: bool, randomize?: bool, source?: string, target: string}} with additional array shape fields (file) was provided (see https://psalm.dev/004)
|
InvalidReturnStatement:
src/File/Rename.php#L58
src/File/Rename.php:58:16: InvalidReturnStatement: No return values are expected for Laminas\Filter\File\Rename::__construct (see https://psalm.dev/128)
|
MixedArgumentTypeCoercion:
test/File/RenameTest.php#L217
test/File/RenameTest.php:217:34: MixedArgumentTypeCoercion: Argument 1 of Laminas\Filter\File\Rename::__construct expects array{file?: array{overwrite?: bool, randomize?: bool, source?: string, target: string}}, but parent type array<array-key, mixed>|string provided (see https://psalm.dev/194)
|
InvalidArgument:
test/File/RenameTest.php#L240
test/File/RenameTest.php:240:34: InvalidArgument: Argument 1 of Laminas\Filter\File\Rename::__construct expects array{file?: array{overwrite?: bool, randomize?: bool, source?: string, target: string}}, but array{source: non-falsy-string, target: '/to-be-overwritten.xml'} with additional array shape fields (source, target) was provided (see https://psalm.dev/004)
|
InvalidArgument:
test/File/RenameTest.php#L278
test/File/RenameTest.php:278:34: InvalidArgument: Argument 1 of Laminas\Filter\File\Rename::__construct expects array{file?: array{overwrite?: bool, randomize?: bool, source?: string, target: string}}, but array{source: non-falsy-string, target: string} with additional array shape fields (source, target) was provided (see https://psalm.dev/004)
|
InvalidArgument:
test/File/RenameTest.php#L304
test/File/RenameTest.php:304:34: InvalidArgument: Argument 1 of Laminas\Filter\File\Rename::__construct expects array{file?: array{overwrite?: bool, randomize?: bool, source?: string, target: string}}, but array{source: non-falsy-string, target: non-falsy-string} with additional array shape fields (source, target) was provided (see https://psalm.dev/004)
|
InvalidArgument:
test/File/RenameTest.php#L340
test/File/RenameTest.php:340:34: InvalidArgument: Argument 1 of Laminas\Filter\File\Rename::__construct expects array{file?: array{overwrite?: bool, randomize?: bool, source?: string, target: string}}, but array{overwrite: true, source: non-falsy-string, target: non-falsy-string} with additional array shape fields (source, target, overwrite) was provided (see https://psalm.dev/004)
|
InvalidArgument:
test/File/RenameTest.php#L368
test/File/RenameTest.php:368:34: InvalidArgument: Argument 1 of Laminas\Filter\File\Rename::__construct expects array{file?: array{overwrite?: bool, randomize?: bool, source?: string, target: string}}, but array{randomize: true, source: non-falsy-string, target: non-falsy-string} with additional array shape fields (source, target, randomize) was provided (see https://psalm.dev/004)
|
InvalidArgument:
test/File/RenameTest.php#L398
test/File/RenameTest.php:398:37: InvalidArgument: Argument 1 of Laminas\Filter\File\Rename::__construct expects array{file?: array{overwrite?: bool, randomize?: bool, source?: string, target: string}}, but array{randomize: true, source: non-falsy-string, target: non-falsy-string} with additional array shape fields (source, target, randomize) was provided (see https://psalm.dev/004)
|
ci / Generate job matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPUnit [8.4, latest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPUnit [8.2, lowest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPUnit [8.1, latest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPUnit [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPUnit [8.1, lowest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (Backward Compatibility Check [@default, locked], ubuntu-latest, laminas/laminas-contin...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (Psalm [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@v1, ...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPUnit [8.3, latest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPUnit [8.2, latest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPUnit [8.3, lowest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPUnit [8.4, lowest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|