Skip to content

Add PHP 8.4 compatibility #403

Add PHP 8.4 compatibility

Add PHP 8.4 compatibility #403

Triggered via pull request August 8, 2024 09:39
Status Failure
Total duration 1m 26s
Artifacts

continuous-integration.yml

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

Annotations

12 errors
ci / QA Checks (PHPUnit [8.4, latest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires laminas/laminas-eventmanager ^3.13.1 -> satisfiable by laminas/laminas-eventmanager[3.13.1]. - laminas/laminas-eventmanager 3.13.1 requires php ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.0alpha2) does not satisfy that requirement. Problem 2 - Root composer.json requires laminas/laminas-modulemanager ^2.16.0 -> satisfiable by laminas/laminas-modulemanager[2.16.0]. - laminas/laminas-modulemanager 2.16.0 requires php ~8.1.0 || ~8.2.0|| ~8.3.0 -> your php version (8.4.0alpha2) does not satisfy that requirement. Problem 3 - Root composer.json requires laminas/laminas-serializer ^2.17.0 -> satisfiable by laminas/laminas-serializer[2.17.0]. - laminas/laminas-serializer 2.17.0 requires php ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.0alpha2) does not satisfy that requirement. Problem 4 - Root composer.json requires laminas/laminas-servicemanager ^3.22.1 -> satisfiable by laminas/laminas-servicemanager[3.22.1]. - laminas/laminas-servicemanager 3.22.1 requires php ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.0alpha2) does not satisfy that requirement. Problem 5 - Root composer.json requires vimeo/psalm ^5.25 -> satisfiable by vimeo/psalm[5.25.0]. - vimeo/psalm 5.25.0 requires php ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.0alpha2) does not satisfy that requirement. Problem 6 - vimeo/psalm 5.25.0 requires php ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.0alpha2) does not satisfy that requirement. - psalm/plugin-phpunit 0.18.4 requires vimeo/psalm dev-master || dev-4.x || ^4.7.1 || ^5@beta || ^5.0 -> satisfiable by vimeo/psalm[5.25.0]. - Root composer.json requires psalm/plugin-phpunit ^0.18.4 -> satisfiable by psalm/plugin-phpunit[0.18.4]. Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
ci / QA Checks (PHPUnit [8.4, lowest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires laminas/laminas-eventmanager ^3.13.1 -> satisfiable by laminas/laminas-eventmanager[3.13.1]. - laminas/laminas-eventmanager 3.13.1 requires php ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.0alpha2) does not satisfy that requirement. Problem 2 - Root composer.json requires laminas/laminas-modulemanager ^2.16.0 -> satisfiable by laminas/laminas-modulemanager[2.16.0]. - laminas/laminas-modulemanager 2.16.0 requires php ~8.1.0 || ~8.2.0|| ~8.3.0 -> your php version (8.4.0alpha2) does not satisfy that requirement. Problem 3 - Root composer.json requires laminas/laminas-serializer ^2.17.0 -> satisfiable by laminas/laminas-serializer[2.17.0]. - laminas/laminas-serializer 2.17.0 requires php ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.0alpha2) does not satisfy that requirement. Problem 4 - Root composer.json requires laminas/laminas-servicemanager ^3.22.1 -> satisfiable by laminas/laminas-servicemanager[3.22.1]. - laminas/laminas-servicemanager 3.22.1 requires php ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.0alpha2) does not satisfy that requirement. Problem 5 - Root composer.json requires vimeo/psalm ^5.25 -> satisfiable by vimeo/psalm[5.25.0]. - vimeo/psalm 5.25.0 requires php ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.0alpha2) does not satisfy that requirement. Problem 6 - vimeo/psalm 5.25.0 requires php ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.0alpha2) does not satisfy that requirement. - psalm/plugin-phpunit 0.18.4 requires vimeo/psalm dev-master || dev-4.x || ^4.7.1 || ^5@beta || ^5.0 -> satisfiable by vimeo/psalm[5.25.0]. - Root composer.json requires psalm/plugin-phpunit ^0.18.4 -> satisfiable by psalm/plugin-phpunit[0.18.4]. Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
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)