Skip to content

feat: Enable Auth Observability Metrics #768

feat: Enable Auth Observability Metrics

feat: Enable Auth Observability Metrics #768

Triggered via pull request December 19, 2023 06:19
Status Failure
Total duration 33s
Artifacts

tests.yml

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

Annotations

18 errors
PHPStan Static Analysis: src/Credentials/GCECredentials.php#L318
Method Google\Auth\Credentials\GCECredentials::getMdsPingHeader() has no return type specified.
PHPStan Static Analysis: src/Credentials/GCECredentials.php#L443
Property Google\Auth\Credentials\GCECredentials::$targetAudience (string) in isset() is not nullable.
PHPStan Static Analysis: src/Credentials/GCECredentials.php#L616
Method Google\Auth\Credentials\GCECredentials::getFromMetadata() has parameter $metricsHeader with no value type specified in iterable type array.
PHPStan Static Analysis: src/Credentials/UserRefreshCredentials.php#L123
Method Google\Auth\Credentials\UserRefreshCredentials::fetchAuthToken() has parameter $metricsHeader with no value type specified in iterable type array.
PHPStan Static Analysis: src/MetricsTrait.php (in context of class Google/Auth/CredentialsLoader)#L28
Property Google\Auth\CredentialsLoader::$version has no type specified.
PHPStan Static Analysis: src/MetricsTrait.php (in context of class Google/Auth/CredentialsLoader)#L30
Property Google\Auth\CredentialsLoader::$metricsHeaderKey has no type specified.
PHPStan Static Analysis: src/MetricsTrait.php (in context of class Google/Auth/CredentialsLoader)#L32
Property Google\Auth\CredentialsLoader::$requestType type has no value type specified in iterable type array.
PHPStan Static Analysis: src/MetricsTrait.php (in context of class Google/Auth/CredentialsLoader)#L37
Property Google\Auth\CredentialsLoader::$credTypes type has no value type specified in iterable type array.
PHPStan Static Analysis: src/MetricsTrait.php (in context of class Google/Auth/CredentialsLoader)#L70
Method Google\Auth\CredentialsLoader::applyMetricsHeader() has parameter $headerValue with no type specified.
PHPStan Static Analysis: src/MetricsTrait.php (in context of class Google/Auth/CredentialsLoader)#L70
Method Google\Auth\CredentialsLoader::applyMetricsHeader() has parameter $metadata with no type specified.
PHP 8.1 Unit Test
Process completed with exit code 1.
PHP 8.0 Unit Test
The job was canceled because "_8_1" failed.
PHP 8.0 Unit Test
Process completed with exit code 1.
PHP 8.2 Unit Test
The job was canceled because "_8_1" failed.
PHP 8.2 Unit Test
Process completed with exit code 1.
PHP 7.4 Unit Test
The job was canceled because "_8_1" failed.
PHP 7.4 Unit Test
Process completed with exit code 2.
Test Prefer Lowest
Process completed with exit code 2.