Skip to content

Add a prototype for the file system cache #947

Add a prototype for the file system cache

Add a prototype for the file system cache #947

Triggered via pull request May 7, 2024 22:31
Status Failure
Total duration 34s
Artifacts

tests.yml

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

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.