Skip to content

Update dependency vimeo/psalm to v6 #525

Update dependency vimeo/psalm to v6

Update dependency vimeo/psalm to v6 #525

Triggered via pull request January 27, 2025 04:58
Status Failure
Total duration 2m 46s
Artifacts

continuous-integration.yml

on: pull_request
ci  /  Generate job matrix
4s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 13 warnings
PossiblyFalseArgument: src/Metadata/MetadataMapFactory.php#L102
src/Metadata/MetadataMapFactory.php:102:49: PossiblyFalseArgument: Argument 2 of in_array cannot be false, possibly array<array-key, mixed> value expected (see https://psalm.dev/104)
PossiblyFalseArgument: src/Metadata/MetadataMapFactory.php#L133
src/Metadata/MetadataMapFactory.php:133:57: PossiblyFalseArgument: Argument 2 of in_array cannot be false, possibly array<array-key, mixed> value expected (see https://psalm.dev/104)
InvalidFalsableReturnType: src/Renderer/JsonRenderer.php#L23
src/Renderer/JsonRenderer.php:23:52: InvalidFalsableReturnType: The declared return type 'string' for Mezzio\Hal\Renderer\JsonRenderer::render does not allow false, but 'false|string' contains false (see https://psalm.dev/143)
FalsableReturnStatement: src/Renderer/JsonRenderer.php#L25
src/Renderer/JsonRenderer.php:25:16: FalsableReturnStatement: The declared return type 'string' for Mezzio\Hal\Renderer\JsonRenderer::render does not allow false, but the function returns 'false|string' (see https://psalm.dev/137)
PossiblyFalseArgument: src/ResourceGenerator.php#L59
src/ResourceGenerator.php:59:52: PossiblyFalseArgument: Argument 2 of in_array cannot be false, possibly array<array-key, mixed> value expected (see https://psalm.dev/104)
PossiblyFalseArgument: src/ResourceGenerator.php#L68
src/ResourceGenerator.php:68:57: PossiblyFalseArgument: Argument 2 of in_array cannot be false, possibly array<array-key, mixed> value expected (see https://psalm.dev/104)
PossiblyFalseIterator: src/ResourceGenerator.php#L138
src/ResourceGenerator.php:138:22: PossiblyFalseIterator: Cannot iterate over falsable var array<class-string, class-string>|false (see https://psalm.dev/164)
MixedAssignment: src/ResourceGenerator.php#L138
src/ResourceGenerator.php:138:50: MixedAssignment: Unable to determine the type that $parent is being assigned to (see https://psalm.dev/032)
MixedArgument: src/ResourceGenerator.php#L139
src/ResourceGenerator.php:139:45: MixedArgument: Argument 1 of Mezzio\Hal\Metadata\MetadataMap::has cannot be mixed, expecting string (see https://psalm.dev/030)
InvalidNullableReturnType: src/ResourceGenerator/UrlBasedCollectionStrategy.php#L111
src/ResourceGenerator/UrlBasedCollectionStrategy.php:111:53: InvalidNullableReturnType: The declared return type 'string' for Mezzio\Hal\ResourceGenerator\UrlBasedCollectionStrategy::stripUrlFragment is not nullable, but 'null|string' contains null (see https://psalm.dev/144)
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