Skip to content

Update dependency laminas/laminas-servicemanager to v4 #277

Update dependency laminas/laminas-servicemanager to v4

Update dependency laminas/laminas-servicemanager to v4 #277

Triggered via pull request March 4, 2024 10:11
Status Failure
Total duration 1m 31s
Artifacts

continuous-integration.yml

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

Annotations

10 errors
UndefinedDocblockClass: src/ConfigProvider.php#L9
src/ConfigProvider.php:9:24: UndefinedDocblockClass: Docblock-defined class, interface or enum named Laminas\ServiceManager\ConfigInterface does not exist (see https://psalm.dev/200)
MismatchingDocblockReturnType: src/ConfigProvider.php#L20
src/ConfigProvider.php:20:17: MismatchingDocblockReturnType: Docblock has incorrect return type 'type-alias(Laminas\ServiceManager\ConfigInterface::ServiceManagerConfigurationType)', should be 'array<array-key, mixed>' (see https://psalm.dev/142)
MixedInferredReturnType: src/ConfigProvider.php#L20
src/ConfigProvider.php:20:17: MixedInferredReturnType: Could not verify return type 'type-alias(Laminas\ServiceManager\ConfigInterface::ServiceManagerConfigurationType)' for Mezzio\Authorization\Rbac\ConfigProvider::getDependencies (see https://psalm.dev/047)
UndefinedDocblockClass: test/ConfigProviderTest.php#L19
test/ConfigProviderTest.php:19:24: UndefinedDocblockClass: Docblock-defined class, interface or enum named Laminas\ServiceManager\ConfigInterface does not exist (see https://psalm.dev/200)
UnusedPsalmSuppress: test/ConfigProviderTest.php#L41
test/ConfigProviderTest.php:41:24: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
DocblockTypeContradiction: test/ConfigProviderTest.php#L47
test/ConfigProviderTest.php:47:15: DocblockTypeContradiction: Docblock-defined type type-alias(Laminas\ServiceManager\ConfigInterface::ServiceManagerConfigurationType) for $config['dependencies'] is never array<array-key, mixed> (see https://psalm.dev/155)
NoValue: test/ConfigProviderTest.php#L48
test/ConfigProviderTest.php:48:46: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
InvalidArgument: test/ConfigProviderTest.php#L77
test/ConfigProviderTest.php:77:77: InvalidArgument: Argument 1 of MezzioTest\Authorization\Rbac\ConfigProviderTest::getContainer expects type-alias(Laminas\ServiceManager\ConfigInterface::ServiceManagerConfigurationType), but array{services: array{config: array{'mezzio-authorization-rbac': array{permissions: array<never, never>, roles: array<never, never>}}}} provided (see https://psalm.dev/004)
InvalidArrayAccess: test/ConfigProviderTest.php#L80
test/ConfigProviderTest.php:80:25: InvalidArrayAccess: Cannot access array value on non-array variable $dependencies of type type-alias(Laminas\ServiceManager\ConfigInterface::ServiceManagerConfigurationType) (see https://psalm.dev/005)
MixedArgumentTypeCoercion: test/ConfigProviderTest.php#L84
test/ConfigProviderTest.php:84:46: MixedArgumentTypeCoercion: Argument 1 of Laminas\ServiceManager\ServiceManager::has expects string, but parent type array-key provided (see https://psalm.dev/194)