Skip to content

Feature/composer versions #281

Feature/composer versions

Feature/composer versions #281

Triggered via pull request August 4, 2024 21:57
Status Failure
Total duration 1m 32s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Static Analysis / PHPStan
Matrix: Static Analysis / Psalm
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
Static Analysis / PHPStan (8.3)
Process completed with exit code 1.
MissingTemplateParam: src/Cache/DoctrineCacheStorage.php#L16
src/Cache/DoctrineCacheStorage.php:16:7: MissingTemplateParam: DoctrineModule\Cache\DoctrineCacheStorage has missing template params when extending Laminas\Cache\Storage\Adapter\AbstractAdapter, expecting 1 (see https://psalm.dev/182)
MethodSignatureMismatch: src/Cache/DoctrineCacheStorage.php#L32
src/Cache/DoctrineCacheStorage.php:32:41: MethodSignatureMismatch: Argument 1 of DoctrineModule\Cache\DoctrineCacheStorage::internalGetItem is passed by reference, but argument 1 of Laminas\Cache\Storage\Adapter\AbstractAdapter::internalGetItem is not (see https://psalm.dev/042)
MethodSignatureMismatch: src/Cache/DoctrineCacheStorage.php#L50
src/Cache/DoctrineCacheStorage.php:50:5: MethodSignatureMismatch: Method DoctrineModule\Cache\DoctrineCacheStorage::internalSetItem with return type '' is different to return type 'bool' of inherited method Laminas\Cache\Storage\Adapter\AbstractAdapter::internalSetItem (see https://psalm.dev/042)
MethodSignatureMismatch: src/Cache/DoctrineCacheStorage.php#L50
src/Cache/DoctrineCacheStorage.php:50:41: MethodSignatureMismatch: Argument 1 of DoctrineModule\Cache\DoctrineCacheStorage::internalSetItem is passed by reference, but argument 1 of Laminas\Cache\Storage\Adapter\AbstractAdapter::internalSetItem is not (see https://psalm.dev/042)
MethodSignatureMismatch: src/Cache/DoctrineCacheStorage.php#L50
src/Cache/DoctrineCacheStorage.php:50:58: MethodSignatureMismatch: Argument 2 of DoctrineModule\Cache\DoctrineCacheStorage::internalSetItem is passed by reference, but argument 2 of Laminas\Cache\Storage\Adapter\AbstractAdapter::internalSetItem is not (see https://psalm.dev/042)
MethodSignatureMismatch: src/Cache/DoctrineCacheStorage.php#L61
src/Cache/DoctrineCacheStorage.php:61:5: MethodSignatureMismatch: Method DoctrineModule\Cache\DoctrineCacheStorage::internalRemoveItem with return type '' is different to return type 'bool' of inherited method Laminas\Cache\Storage\Adapter\AbstractAdapter::internalRemoveItem (see https://psalm.dev/042)
MethodSignatureMismatch: src/Cache/DoctrineCacheStorage.php#L61
src/Cache/DoctrineCacheStorage.php:61:44: MethodSignatureMismatch: Argument 1 of DoctrineModule\Cache\DoctrineCacheStorage::internalRemoveItem is passed by reference, but argument 1 of Laminas\Cache\Storage\Adapter\AbstractAdapter::internalRemoveItem is not (see https://psalm.dev/042)
UndefinedInterfaceMethod: src/Cache/LaminasStorageCache.php#L80
src/Cache/LaminasStorageCache.php:80:63: UndefinedInterfaceMethod: Method Laminas\Cache\Storage\StorageInterface::getMetadata does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: src/Cache/LaminasStorageCache.php#L81
src/Cache/LaminasStorageCache.php:81:63: UndefinedInterfaceMethod: Method Laminas\Cache\Storage\StorageInterface::getMetadata does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: src/Cache/LaminasStorageCache.php#L82
src/Cache/LaminasStorageCache.php:82:63: UndefinedInterfaceMethod: Method Laminas\Cache\Storage\StorageInterface::getMetadata does not exist (see https://psalm.dev/181)
Static Analysis / PHPStan (8.3)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Static Analysis / Psalm (8.3)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/