Add a prototype for the file system cache #949
tests.yml
on: pull_request
Test Prefer Lowest
27s
PHP Style Check
19s
PHPStan Static Analysis
27s
Matrix: test
Annotations
11 errors
PHP Style Check
Process completed with exit code 8.
|
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#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#L86
Parameter #1 $data of function unserialize expects string, string|false given.
|
PHPStan Static Analysis:
src/Cache/FileSystemCacheItemPool.php#L98
Argument of an invalid type array<int, string>|false supplied for foreach, only iterables are supported.
|
PHPStan Static Analysis:
src/Cache/FileSystemCacheItemPool.php#L199
Method Google\Auth\Cache\FileSystemCacheItemPool::cacheFilePath() has parameter $key with no type specified.
|