Add a prototype for the file system cache #948
tests.yml
on: pull_request
Test Prefer Lowest
33s
PHP Style Check
26s
PHPStan Static Analysis
26s
Matrix: test
Annotations
11 errors
PHPStan Static Analysis:
src/Cache/CacheChain.php#L25
Property Google\Auth\Cache\CacheChain::$pools type has no value type specified in iterable type array.
|
PHPStan Static Analysis:
src/Cache/CacheChain.php#L49
Method Google\Auth\Cache\CacheChain::getItems() return type has no value type specified in iterable type iterable.
|
PHPStan Static Analysis:
src/Cache/CacheChain.php#L149
Method Google\Auth\Cache\CacheChain::addPool() has no return type specified.
|
PHPStan Static Analysis:
src/Cache/FileSystemCacheItemPool.php#L26
Property Google\Auth\Cache\FileSystemCacheItemPool::$deferredPool type has no value type specified in iterable type array.
|
PHPStan Static Analysis:
src/Cache/FileSystemCacheItemPool.php#L28
Method Google\Auth\Cache\FileSystemCacheItemPool::__construct() has parameter $options with no type specified.
|
PHPStan Static Analysis:
src/Cache/FileSystemCacheItemPool.php#L35
Method Google\Auth\Cache\FileSystemCacheItemPool::__construct() with return type void returns true but should not return anything.
|
PHPStan Static Analysis:
src/Cache/FileSystemCacheItemPool.php#L57
Parameter #1 $data of function unserialize expects string, string|false given.
|
PHPStan Static Analysis:
src/Cache/FileSystemCacheItemPool.php#L63
Method Google\Auth\Cache\FileSystemCacheItemPool::getItems() return type has no value type specified in iterable type iterable.
|
PHPStan Static Analysis:
src/Cache/FileSystemCacheItemPool.php#L90
Parameter #1 $data of function unserialize expects string, string|false given.
|
PHPStan Static Analysis:
src/Cache/FileSystemCacheItemPool.php#L102
Argument of an invalid type array<int, string>|false supplied for foreach, only iterables are supported.
|
PHP Style Check
Process completed with exit code 8.
|