Skip to content

Update dependency vimeo/psalm to v5 #228

Update dependency vimeo/psalm to v5

Update dependency vimeo/psalm to v5 #228

Triggered via push December 18, 2023 04:32
Status Failure
Total duration 3m 19s
Artifacts
ci  /  Generate job matrix
6s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

14 errors
UnsupportedPropertyReferenceUsage: src/Filesystem.php#L106
src/Filesystem.php:106:9: UnsupportedPropertyReferenceUsage: This reference cannot be analyzed by Psalm. (see https://psalm.dev/321)
MoreSpecificImplementedParamType: src/Filesystem.php#L126
src/Filesystem.php:126:32: MoreSpecificImplementedParamType: Argument 1 of Laminas\Cache\Storage\Adapter\Filesystem::setOptions has the more specific type 'Laminas\Cache\Storage\Adapter\FilesystemOptions|iterable<array-key|mixed, mixed>', expecting 'Laminas\Cache\Storage\Adapter\AdapterOptions|iterable<array-key|mixed, mixed>' as defined by Laminas\Cache\Storage\Adapter\AbstractAdapter::setOptions (see https://psalm.dev/140)
ImplementedReturnTypeMismatch: src/Filesystem.php#L970
src/Filesystem.php:970:16: ImplementedReturnTypeMismatch: The inherited return type 'array<array-key, mixed>' for Laminas\Cache\Storage\StorageInterface::replaceItems is different to the implemented return type for Laminas\Cache\Storage\Adapter\Filesystem::replaceitems 'bool' (see https://psalm.dev/123)
ImplementedReturnTypeMismatch: src/Filesystem.php#L970
src/Filesystem.php:970:16: ImplementedReturnTypeMismatch: The inherited return type 'array<array-key, mixed>' for Laminas\Cache\Storage\Adapter\AbstractAdapter::replaceItems is different to the implemented return type for Laminas\Cache\Storage\Adapter\Filesystem::replaceitems 'bool' (see https://psalm.dev/123)
UnsupportedReferenceUsage: src/Filesystem.php#L1030
src/Filesystem.php:1030:13: UnsupportedReferenceUsage: This reference cannot be analyzed by Psalm (see https://psalm.dev/312)
InvalidArgument: src/Filesystem/AdapterPluginManagerDelegatorFactory.php#L21
src/Filesystem/AdapterPluginManagerDelegatorFactory.php:21:35: InvalidArgument: Argument 1 of Laminas\Cache\Storage\AdapterPluginManager::configure expects type-alias(Laminas\ServiceManager\ServiceManager::ServiceManagerConfiguration), but array{aliases: array{Filesystem: Laminas\Cache\Storage\Adapter\Filesystem::class, filesystem: Laminas\Cache\Storage\Adapter\Filesystem::class}, factories: array{'Laminas\\Cache\\Storage\\Adapter\\Filesystem'::class: Laminas\ServiceManager\Factory\InvokableFactory::class}} provided (see https://psalm.dev/004)
InvalidArrayAccess: test/unit/FilesystemOptionsTest.php#L101
test/unit/FilesystemOptionsTest.php:101:29: InvalidArrayAccess: Cannot access array value on non-array variable $out of type (TOutput is null ? list<string> : array<array-key, mixed>) (see https://psalm.dev/005)