Skip to content

Add a prototype for the file system cache #949

Add a prototype for the file system cache

Add a prototype for the file system cache #949

Triggered via pull request May 8, 2024 20:22
Status Failure
Total duration 39s
Artifacts

tests.yml

on: pull_request
Test Prefer Lowest
27s
Test Prefer Lowest
PHP Style Check
19s
PHP Style Check
PHPStan Static Analysis
27s
PHPStan Static Analysis
Matrix: test
Fit to window
Zoom out
Zoom in

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.