Skip to content

Allow integerish keys in methods handling multiple keys at once #621

Allow integerish keys in methods handling multiple keys at once

Allow integerish keys in methods handling multiple keys at once #621

Triggered via pull request June 15, 2024 16:33
Status Failure
Total duration 54s
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

10 errors
InvalidScalarArgument: src/Psr/CacheItemPool/CacheItemPoolDecorator.php#L132
src/Psr/CacheItemPool/CacheItemPoolDecorator.php:132:46: InvalidScalarArgument: Argument 1 of Laminas\Cache\Psr\CacheItemPool\CacheItem::__construct expects string, but int|non-empty-string provided (see https://psalm.dev/012)
InvalidScalarArgument: src/Psr/SimpleCache/SimpleCacheDecorator.php#L250
src/Psr/SimpleCache/SimpleCacheDecorator.php:250:43: InvalidScalarArgument: Argument 1 of Laminas\Cache\Storage\StorageInterface::hasItem expects non-empty-string, but int|non-empty-string provided (see https://psalm.dev/012)
InvalidScalarArgument: src/Psr/SimpleCache/SimpleCacheDecorator.php#L279
src/Psr/SimpleCache/SimpleCacheDecorator.php:279:43: InvalidScalarArgument: Argument 1 of Laminas\Cache\Storage\StorageInterface::hasItem expects non-empty-string, but int|non-empty-string provided (see https://psalm.dev/012)
TypeDoesNotContainType: src/Storage/AbstractMetadataCapableAdapter.php#L34
src/Storage/AbstractMetadataCapableAdapter.php:34:16: TypeDoesNotContainType: Type string for $key is never int (see https://psalm.dev/056)
DocblockTypeContradiction: src/Storage/AbstractMetadataCapableAdapter.php#L42
src/Storage/AbstractMetadataCapableAdapter.php:42:20: DocblockTypeContradiction: Docblock-defined type non-empty-string for $key is never int (see https://psalm.dev/155)
TypeDoesNotContainType: src/Storage/Adapter/AbstractAdapter.php#L316
src/Storage/Adapter/AbstractAdapter.php:316:16: TypeDoesNotContainType: Type string for $key is never int (see https://psalm.dev/056)
InvalidScalarArgument: src/Storage/Adapter/AbstractAdapter.php#L341
src/Storage/Adapter/AbstractAdapter.php:341:52: InvalidScalarArgument: Argument 1 of Laminas\Cache\Storage\Adapter\AbstractAdapter::internalGetItem expects non-empty-string, but int|non-empty-string provided (see https://psalm.dev/012)
InvalidScalarArgument: src/Storage/Adapter/AbstractAdapter.php#L345
src/Storage/Adapter/AbstractAdapter.php:345:50: InvalidScalarArgument: Argument 1 of Laminas\Cache\Storage\Adapter\AbstractAdapter::internalGetItem expects non-empty-string, but int|non-empty-string provided (see https://psalm.dev/012)
InvalidScalarArgument: src/Storage/Adapter/AbstractAdapter.php#L347
src/Storage/Adapter/AbstractAdapter.php:347:50: InvalidScalarArgument: Argument 1 of Laminas\Cache\Storage\Adapter\AbstractAdapter::internalGetItem expects non-empty-string, but int|non-empty-string provided (see https://psalm.dev/012)
MoreSpecificImplementedParamType: src/Storage/Adapter/AbstractAdapter.php#L385
src/Storage/Adapter/AbstractAdapter.php:385:36: MoreSpecificImplementedParamType: Argument 1 of Laminas\Cache\Storage\Adapter\AbstractAdapter::getItems has the more specific type 'non-empty-list<non-empty-string>', expecting 'non-empty-list<int|non-empty-string>' as defined by Laminas\Cache\Storage\StorageInterface::getItems (see https://psalm.dev/140)