Skip to content

Update dependency vimeo/psalm to v6 #553

Update dependency vimeo/psalm to v6

Update dependency vimeo/psalm to v6 #553

Triggered via push January 27, 2025 04:52
Status Failure
Total duration 54s
Artifacts
ci  /  Generate job matrix
6s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 15 warnings
FalsableReturnStatement: src/Definition.php#L215
src/Definition.php:215:16: FalsableReturnStatement: The declared return type 'Laminas\Server\Method\Definition' for Laminas\Server\Definition::current does not allow false, but the function returns 'false|mixed' (see https://psalm.dev/137)
InvalidNullableReturnType: src/Definition.php#L221
src/Definition.php:221:16: InvalidNullableReturnType: The declared return type 'int|string' for Laminas\Server\Definition::key is not nullable, but 'array-key|null' contains null (see https://psalm.dev/144)
NullableReturnStatement: src/Definition.php#L226
src/Definition.php:226:16: NullableReturnStatement: The declared return type 'int|string' for Laminas\Server\Definition::key is not nullable, but the function returns 'array-key|null' (see https://psalm.dev/139)
FalsableReturnStatement: src/Definition.php#L237
src/Definition.php:237:16: FalsableReturnStatement: The declared return type 'Laminas\Server\Method\Definition' for Laminas\Server\Definition::next does not allow false, but the function returns 'false|mixed' (see https://psalm.dev/137)
PossiblyNullArgument: src/Reflection/AbstractFunction.php#L247
src/Reflection/AbstractFunction.php:247:49: PossiblyNullArgument: Argument 1 of Laminas\Server\Reflection\ReflectionReturnValue::__construct cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyFalsePropertyAssignmentValue: test/CacheTest.php#L54
test/CacheTest.php:54:28: PossiblyFalsePropertyAssignmentValue: $this->cacheFile with non-falsable declared type 'string' cannot be assigned possibly false type 'false|string' (see https://psalm.dev/146)
PossiblyFalseArgument: test/CacheTest.php#L56
test/CacheTest.php:56:39: PossiblyFalseArgument: Argument 1 of Laminas\Server\Cache::save cannot be false, possibly string value expected (see https://psalm.dev/104)
PossiblyFalseArgument: test/CacheTest.php#L58
test/CacheTest.php:58:35: PossiblyFalseArgument: Argument 1 of file_get_contents cannot be false, possibly string value expected (see https://psalm.dev/104)
PossiblyFalseArgument: test/CacheTest.php#L59
test/CacheTest.php:59:29: PossiblyFalseArgument: Argument 1 of unserialize cannot be false, possibly string value expected (see https://psalm.dev/104)
PossiblyFalsePropertyAssignmentValue: test/CacheTest.php#L80
test/CacheTest.php:80:28: PossiblyFalsePropertyAssignmentValue: $this->cacheFile with non-falsable declared type 'string' cannot be assigned possibly false type 'false|string' (see https://psalm.dev/146)
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 / Generate job matrix
Application uses deprecated job exclusion. Please modify the job exclusion for the job "PHPUnit [8.1, lowest]" appropriately.