Skip to content

Update Laminas packages (major) #451

Update Laminas packages (major)

Update Laminas packages (major) #451

Triggered via pull request December 9, 2024 03:36
Status Failure
Total duration 1m 59s
Artifacts

continuous-integration.yml

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

Annotations

10 errors and 14 warnings
MethodSignatureMismatch: src/HydratorPluginManager.php#L22
src/HydratorPluginManager.php:22:7: MethodSignatureMismatch: Method Laminas\Hydrator\HydratorPluginManager::validate with return type '' is different to return type 'void' of inherited method Laminas\ServiceManager\PluginManagerInterface::validate (see https://psalm.dev/042)
NonInvariantPropertyType: src/HydratorPluginManager.php#L29
src/HydratorPluginManager.php:29:15: NonInvariantPropertyType: Property Laminas\Hydrator\HydratorPluginManager::$aliases has type <empty>, not invariant with Laminas\ServiceManager\AbstractPluginManager::$aliases of type array<array-key, mixed> (see https://psalm.dev/265)
NonInvariantPropertyType: src/HydratorPluginManager.php#L78
src/HydratorPluginManager.php:78:15: NonInvariantPropertyType: Property Laminas\Hydrator\HydratorPluginManager::$factories has type <empty>, not invariant with Laminas\ServiceManager\AbstractPluginManager::$factories of type array<array-key, mixed> (see https://psalm.dev/265)
NonInvariantPropertyType: src/HydratorPluginManager.php#L91
src/HydratorPluginManager.php:91:15: NonInvariantPropertyType: Property Laminas\Hydrator\HydratorPluginManager::$sharedByDefault has type <empty>, not invariant with Laminas\ServiceManager\AbstractPluginManager::$sharedByDefault of type bool (see https://psalm.dev/265)
UndefinedClass: src/HydratorPluginManagerFactory.php#L72
src/HydratorPluginManagerFactory.php:72:14: UndefinedClass: Class, interface or enum named Laminas\ServiceManager\Config does not exist (see https://psalm.dev/019)
MixedMethodCall: src/HydratorPluginManagerFactory.php#L72
src/HydratorPluginManagerFactory.php:72:45: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
MixedInferredReturnType: src/Strategy/SerializableStrategy.php#L83
src/Strategy/SerializableStrategy.php:83:38: MixedInferredReturnType: Could not verify return type 'Laminas\Serializer\Adapter\AdapterInterface' for Laminas\Hydrator\Strategy\SerializableStrategy::getSerializer (see https://psalm.dev/047)
UndefinedClass: src/Strategy/SerializableStrategy.php#L87
src/Strategy/SerializableStrategy.php:87:33: UndefinedClass: Class, interface or enum named Laminas\Serializer\Serializer does not exist (see https://psalm.dev/019)
ImplementedReturnTypeMismatch: test/HydratorPluginManagerCompatibilityTest.php#L19
test/HydratorPluginManagerCompatibilityTest.php:19:17: ImplementedReturnTypeMismatch: The inherited return type 'Laminas\ServiceManager\AbstractSingleInstancePluginManager' for Laminas\ServiceManager\Test\CommonPluginManagerTrait::getPluginManager is different to the implemented return type for LaminasTest\Hydrator\HydratorPluginManagerCompatibilityTest::getpluginmanager 'Laminas\Hydrator\HydratorPluginManager' (see https://psalm.dev/123)
MethodSignatureMismatch: test/HydratorPluginManagerCompatibilityTest.php#L20
test/HydratorPluginManagerCompatibilityTest.php:20:5: MethodSignatureMismatch: Method LaminasTest\Hydrator\HydratorPluginManagerCompatibilityTest::getPluginManager with return type '' is different to return type 'Laminas\ServiceManager\AbstractSingleInstancePluginManager' of inherited method Laminas\ServiceManager\Test\CommonPluginManagerTrait::getPluginManager (see https://psalm.dev/042)
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