Skip to content

feat: workforce credentials #700

feat: workforce credentials

feat: workforce credentials #700

Triggered via pull request October 9, 2023 22:25
Status Failure
Total duration 43s
Artifacts

tests.yml

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

Annotations

11 errors
PHPStan Static Analysis: src/AuthTokenCache.php#L73
Method Google\Auth\AuthTokenCache::getCacheKeyFromAuthUri() has no return type specified.
PHPStan Static Analysis: src/AuthTokenCache.php#L73
Method Google\Auth\AuthTokenCache::getCacheKeyFromAuthUri() has parameter $authUri with no type specified.
PHPStan Static Analysis: src/AuthTokenCache.php#L77
Call to an undefined method Google\Auth\AuthTokenCache::getCacheKey().
PHPStan Static Analysis: src/Credentials/ExternalAccountCredentials.php#L60
Method Google\Auth\Credentials\ExternalAccountCredentials::__construct() has parameter $cacheConfig with no value type specified in iterable type array.
PHPStan Static Analysis: src/Credentials/ExternalAccountCredentials.php#L64
Parameter $cache of method Google\Auth\Credentials\ExternalAccountCredentials::__construct() has invalid type Google\Auth\Credentials\CacheItemPoolInterface.
PHPStan Static Analysis: src/Credentials/ExternalAccountCredentials.php#L107
Property Google\Auth\AuthTokenCache::$cache (Psr\Cache\CacheItemPoolInterface|null) does not accept Google\Auth\Credentials\CacheItemPoolInterface|null.
PHPStan Static Analysis: src/CredentialsLoader.php#L131
Method Google\Auth\CredentialsLoader::makeCredentials() has parameter $cacheConfig with no value type specified in iterable type array.
PHPStan Static Analysis: src/CredentialsLoader.php#L159
Parameter #4 $cache of class Google\Auth\Credentials\ExternalAccountCredentials constructor expects Google\Auth\Credentials\CacheItemPoolInterface|null, Psr\Cache\CacheItemPoolInterface|null given.
PHPStan Static Analysis: src/FetchAuthTokenCache.php#L262
Method Google\Auth\FetchAuthTokenCache::getCacheKeyFromAuthUri() has no return type specified.
PHPStan Static Analysis: src/FetchAuthTokenCache.php#L262
Method Google\Auth\FetchAuthTokenCache::getCacheKeyFromAuthUri() has parameter $authUri with no type specified.
PHP Style Check
Process completed with exit code 8.