Lock file maintenance #458
continuous-integration.yml
on: pull_request
ci
/
Generate job matrix
6s
Matrix: ci / QA Checks
Annotations
10 errors
MixedAssignment:
src/Command/NestedDepsCommand.php#L118
src/Command/NestedDepsCommand.php:118:13: MixedAssignment: Unable to determine the type of this assignment (see https://psalm.dev/032)
|
InvalidDocblock:
src/Command/NestedDepsCommand.php#L167
src/Command/NestedDepsCommand.php:167:5: InvalidDocblock: Unclosed bracket in keyed array in docblock for Laminas\Migration\Command\NestedDepsCommand::preparePackageInfo (see https://psalm.dev/008)
|
MissingReturnType:
src/Command/NestedDepsCommand.php#L167
src/Command/NestedDepsCommand.php:167:22: MissingReturnType: Method Laminas\Migration\Command\NestedDepsCommand::preparePackageInfo does not have a return type, expecting array{dev: bool, name: mixed, version: mixed} (see https://psalm.dev/050)
|
RiskyTruthyFalsyComparison:
src/Command/NestedDepsCommand.php#L200
src/Command/NestedDepsCommand.php:200:13: RiskyTruthyFalsyComparison: Operand of type mixed|null contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
ArgumentTypeCoercion:
src/FileFilter.php#L113
src/FileFilter.php:113:28: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
|
NamedArgumentNotAllowed:
src/PackageVersions.php#L74
src/PackageVersions.php:74:46: NamedArgumentNotAllowed: Method array_merge called with named unpacked array non-empty-array<array-key, array<array-key, mixed|string>> (array with string keys) (see https://psalm.dev/268)
|
PossiblyInvalidArgument:
test/FileFilterTest.php#L84
test/FileFilterTest.php:84:17: PossiblyInvalidArgument: Argument 2 of RecursiveCallbackFilterIterator::__construct expects callable(SplFileInfo, mixed, RecursiveIterator<mixed, mixed>):bool, but possibly different type impure-callable(SplFileInfo):bool provided (see https://psalm.dev/092)
|
PossiblyInvalidArgument:
test/FileFilterTest.php#L105
test/FileFilterTest.php:105:17: PossiblyInvalidArgument: Argument 2 of RecursiveCallbackFilterIterator::__construct expects callable(SplFileInfo, mixed, RecursiveIterator<mixed, mixed>):bool, but possibly different type impure-callable(SplFileInfo):bool provided (see https://psalm.dev/092)
|
PossiblyInvalidArgument:
test/FileFilterTest.php#L127
test/FileFilterTest.php:127:17: PossiblyInvalidArgument: Argument 2 of RecursiveCallbackFilterIterator::__construct expects callable(SplFileInfo, mixed, RecursiveIterator<mixed, mixed>):bool, but possibly different type impure-callable(SplFileInfo):bool provided (see https://psalm.dev/092)
|
PossiblyInvalidArgument:
test/FileFilterTest.php#L158
test/FileFilterTest.php:158:17: PossiblyInvalidArgument: Argument 2 of RecursiveCallbackFilterIterator::__construct expects callable(SplFileInfo, mixed, RecursiveIterator<mixed, mixed>):bool, but possibly different type impure-callable(SplFileInfo):bool provided (see https://psalm.dev/092)
|