Skip to content

Make OAuth 2 decorator compatible with PHP 8.4 #23

Make OAuth 2 decorator compatible with PHP 8.4

Make OAuth 2 decorator compatible with PHP 8.4 #23

Re-run triggered March 26, 2025 08:43
Status Failure
Total duration 51s
Artifacts

build.yaml

on: pull_request
Matrix: Coding Standards
Matrix: Dependency Analysis
Matrix: Static Code Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
ClassMustBeFinal: src/GrantType/PasswordGrantType.php#L13
src/GrantType/PasswordGrantType.php:13:7: ClassMustBeFinal: Class BenjaminFavre\OAuthHttpClient\GrantType\PasswordGrantType is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
UnusedClass: src/GrantType/PasswordGrantType.php#L13
src/GrantType/PasswordGrantType.php:13:7: UnusedClass: Class BenjaminFavre\OAuthHttpClient\GrantType\PasswordGrantType is never used (see https://psalm.dev/075)
MissingOverrideAttribute: src/GrantType/ClientCredentialsGrantType.php#L48
src/GrantType/ClientCredentialsGrantType.php:48:5: MissingOverrideAttribute: Method BenjaminFavre\OAuthHttpClient\GrantType\ClientCredentialsGrantType::gettokens should have the "Override" attribute (see https://psalm.dev/358)
ClassMustBeFinal: src/GrantType/ClientCredentialsGrantType.php#L13
src/GrantType/ClientCredentialsGrantType.php:13:7: ClassMustBeFinal: Class BenjaminFavre\OAuthHttpClient\GrantType\ClientCredentialsGrantType is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
UnusedClass: src/GrantType/ClientCredentialsGrantType.php#L13
src/GrantType/ClientCredentialsGrantType.php:13:7: UnusedClass: Class BenjaminFavre\OAuthHttpClient\GrantType\ClientCredentialsGrantType is never used (see https://psalm.dev/075)
MissingOverrideAttribute: src/GrantType/AuthorizationCodeGrantType.php#L67
src/GrantType/AuthorizationCodeGrantType.php:67:5: MissingOverrideAttribute: Method BenjaminFavre\OAuthHttpClient\GrantType\AuthorizationCodeGrantType::getrefreshtokengrant should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: src/GrantType/AuthorizationCodeGrantType.php#L53
src/GrantType/AuthorizationCodeGrantType.php:53:5: MissingOverrideAttribute: Method BenjaminFavre\OAuthHttpClient\GrantType\AuthorizationCodeGrantType::gettokens should have the "Override" attribute (see https://psalm.dev/358)
ClassMustBeFinal: src/GrantType/AuthorizationCodeGrantType.php#L13
src/GrantType/AuthorizationCodeGrantType.php:13:7: ClassMustBeFinal: Class BenjaminFavre\OAuthHttpClient\GrantType\AuthorizationCodeGrantType is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
UnusedClass: src/GrantType/AuthorizationCodeGrantType.php#L13
src/GrantType/AuthorizationCodeGrantType.php:13:7: UnusedClass: Class BenjaminFavre\OAuthHttpClient\GrantType\AuthorizationCodeGrantType is never used (see https://psalm.dev/075)
ClassMustBeFinal: src/Exception/OAuthException.php#L12
src/Exception/OAuthException.php:12:7: ClassMustBeFinal: Class BenjaminFavre\OAuthHttpClient\Exception\OAuthException is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)