Skip to content

Add PHP 8.4 compatibility #404

Add PHP 8.4 compatibility

Add PHP 8.4 compatibility #404

Triggered via pull request August 8, 2024 10:14
Status Failure
Total duration 1m 0s
Artifacts

continuous-integration.yml

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

Annotations

10 errors
NoValue: src/ClassMethodsHydrator.php#L81
src/ClassMethodsHydrator.php:81:52: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
RiskyTruthyFalsyComparison: src/ClassMethodsHydrator.php#L240
src/ClassMethodsHydrator.php:240:17: RiskyTruthyFalsyComparison: Operand of type bool|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
MixedArgumentTypeCoercion: src/Filter/FilterComposite.php#L127
src/Filter/FilterComposite.php:127:38: MixedArgumentTypeCoercion: Argument 1 of Laminas\Hydrator\Filter\FilterComposite::executeFilter expects Laminas\Hydrator\Filter\FilterInterface|callable, but parent type TValue:ArrayObject as mixed provided (see https://psalm.dev/194)
MixedArgumentTypeCoercion: src/Filter/FilterComposite.php#L142
src/Filter/FilterComposite.php:142:38: MixedArgumentTypeCoercion: Argument 1 of Laminas\Hydrator\Filter\FilterComposite::executeFilter expects Laminas\Hydrator\Filter\FilterInterface|callable, but parent type TValue:ArrayObject as mixed provided (see https://psalm.dev/194)
MixedAssignment: src/Filter/NumberOfParameterFilter.php#L33
src/Filter/NumberOfParameterFilter.php:33:13: MixedAssignment: Unable to determine the type that $reflectionMethod is being assigned to (see https://psalm.dev/032)
MixedMethodCall: src/Filter/NumberOfParameterFilter.php#L46
src/Filter/NumberOfParameterFilter.php:46:35: MixedMethodCall: Cannot determine the type of $reflectionMethod when calling method getNumberOfParameters (see https://psalm.dev/015)
MixedAssignment: src/Filter/OptionalParametersFilter.php#L48
src/Filter/OptionalParametersFilter.php:48:13: MixedAssignment: Unable to determine the type that $reflectionMethod is being assigned to (see https://psalm.dev/032)
MixedArgument: src/Filter/OptionalParametersFilter.php#L59
src/Filter/OptionalParametersFilter.php:59:13: MixedArgument: Argument 1 of array_filter cannot be list<ReflectionParameter>|mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
MixedMethodCall: src/Filter/OptionalParametersFilter.php#L59
src/Filter/OptionalParametersFilter.php:59:32: MixedMethodCall: Cannot determine the type of $reflectionMethod when calling method getParameters (see https://psalm.dev/015)
RiskyTruthyFalsyComparison: src/StandaloneHydratorPluginManager.php#L86
src/StandaloneHydratorPluginManager.php:86:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)