Merge pull request #23 from byjg/6.0 #89
phpunit.yml
on: push
Matrix: Build
Psalm Static Analyzer
30s
Documentation
/
add_doc
5s
Annotations
10 warnings
|
PossiblyNullReference:
src/Psr16/ArrayCacheEngine.php#L75
src/Psr16/ArrayCacheEngine.php:75:28: PossiblyNullReference: Cannot call method info on possibly null value (see https://psalm.dev/083)
|
|
PossiblyNullReference:
src/Psr16/ArrayCacheEngine.php#L72
src/Psr16/ArrayCacheEngine.php:72:28: PossiblyNullReference: Cannot call method info on possibly null value (see https://psalm.dev/083)
|
|
ClassMustBeFinal:
src/Psr16/ArrayCacheEngine.php#L13
src/Psr16/ArrayCacheEngine.php:13:7: ClassMustBeFinal: Class ByJG\Cache\Psr16\ArrayCacheEngine is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
|
PropertyNotSetInConstructor:
src/Psr16/ArrayCacheEngine.php#L13
src/Psr16/ArrayCacheEngine.php:13:7: PropertyNotSetInConstructor: Property ByJG\Cache\Psr16\ArrayCacheEngine::$container is not defined in constructor of ByJG\Cache\Psr16\ArrayCacheEngine or in any methods called in the constructor (see https://psalm.dev/074)
|
|
MissingReturnType:
src/GarbageCollectorInterface.php#L7
src/GarbageCollectorInterface.php:7:21: MissingReturnType: Method ByJG\Cache\GarbageCollectorInterface::collectGarbage does not have a return type (see https://psalm.dev/050)
|
|
DeprecatedClass:
src/Factory.php#L44
src/Factory.php:44:13: DeprecatedClass: ByJG\Cache\Psr16\ShmopCacheEngine is marked deprecated (see https://psalm.dev/098)
|
|
ClassMustBeFinal:
src/Factory.php#L16
src/Factory.php:16:7: ClassMustBeFinal: Class ByJG\Cache\Factory is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
|
ClassMustBeFinal:
src/Exception/StorageErrorException.php#L6
src/Exception/StorageErrorException.php:6:7: ClassMustBeFinal: Class ByJG\Cache\Exception\StorageErrorException is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
|
ClassMustBeFinal:
src/Exception/InvalidArgumentException.php#L5
src/Exception/InvalidArgumentException.php:5:7: ClassMustBeFinal: Class ByJG\Cache\Exception\InvalidArgumentException is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
|
MissingParamType:
src/AtomicOperationInterface.php#L13
src/AtomicOperationInterface.php:13:38: MissingParamType: Parameter $value has no provided type (see https://psalm.dev/154)
|