Add a prototype for the file system cache #947
tests.yml
on: pull_request
Test Prefer Lowest
24s
PHP Style Check
17s
PHPStan Static Analysis
21s
Matrix: test
Annotations
10 errors
PHP Style Check
Process completed with exit code 8.
|
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.
|
PHPStan Static Analysis:
src/Cache/FileSystemCacheItemPool.php#L203
Method Google\Auth\Cache\FileSystemCacheItemPool::cacheFilePath() has parameter $key with no type specified.
|
PHPStan Static Analysis
Process completed with exit code 1.
|