Skip to content

Update dependency league/oauth2-server to v9 #381

Update dependency league/oauth2-server to v9

Update dependency league/oauth2-server to v9 #381

Triggered via push December 23, 2024 04:29
Status Failure
Total duration 2m 1s
Artifacts
ci  /  Generate job matrix
6s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 15 warnings
UndefinedMethod: src/AuthorizationServerFactory.php#L132
src/AuthorizationServerFactory.php:132:40: UndefinedMethod: Method League\OAuth2\Server\EventEmitting\EventEmitter::useListenerProvider does not exist (see https://psalm.dev/022)
ArgumentTypeCoercion: src/Entity/ClientEntity.php#L36
src/Entity/ClientEntity.php:36:30: ArgumentTypeCoercion: Argument 1 of Mezzio\Authentication\OAuth2\Entity\ClientEntity::setIdentifier expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
ArgumentTypeCoercion: src/Entity/UserEntity.php#L22
src/Entity/UserEntity.php:22:30: ArgumentTypeCoercion: Argument 1 of Mezzio\Authentication\OAuth2\Entity\UserEntity::setIdentifier expects non-empty-string, but parent type int|string provided (see https://psalm.dev/193)
MethodSignatureMismatch: src/Repository/Pdo/AccessTokenRepository.php#L20
src/Repository/Pdo/AccessTokenRepository.php:20:7: MethodSignatureMismatch: Method Mezzio\Authentication\OAuth2\Repository\Pdo\AccessTokenRepository::getNewToken with return type '' is different to return type 'League\OAuth2\Server\Entities\AccessTokenEntityInterface' of inherited method League\OAuth2\Server\Repositories\AccessTokenRepositoryInterface::getNewToken (see https://psalm.dev/042)
MethodSignatureMismatch: src/Repository/Pdo/AccessTokenRepository.php#L20
src/Repository/Pdo/AccessTokenRepository.php:20:7: MethodSignatureMismatch: Method Mezzio\Authentication\OAuth2\Repository\Pdo\AccessTokenRepository::persistNewAccessToken with return type '' is different to return type 'void' of inherited method League\OAuth2\Server\Repositories\AccessTokenRepositoryInterface::persistNewAccessToken (see https://psalm.dev/042)
MethodSignatureMismatch: src/Repository/Pdo/AccessTokenRepository.php#L20
src/Repository/Pdo/AccessTokenRepository.php:20:7: MethodSignatureMismatch: Method Mezzio\Authentication\OAuth2\Repository\Pdo\AccessTokenRepository::revokeAccessToken with return type '' is different to return type 'void' of inherited method League\OAuth2\Server\Repositories\AccessTokenRepositoryInterface::revokeAccessToken (see https://psalm.dev/042)
MethodSignatureMismatch: src/Repository/Pdo/AccessTokenRepository.php#L20
src/Repository/Pdo/AccessTokenRepository.php:20:7: MethodSignatureMismatch: Method Mezzio\Authentication\OAuth2\Repository\Pdo\AccessTokenRepository::isAccessTokenRevoked with return type '' is different to return type 'bool' of inherited method League\OAuth2\Server\Repositories\AccessTokenRepositoryInterface::isAccessTokenRevoked (see https://psalm.dev/042)
MissingParamType: src/Repository/Pdo/AccessTokenRepository.php#L25
src/Repository/Pdo/AccessTokenRepository.php:25:85: MissingParamType: Parameter $userIdentifier has no provided type (see https://psalm.dev/154)
MissingParamType: src/Repository/Pdo/AccessTokenRepository.php#L89
src/Repository/Pdo/AccessTokenRepository.php:89:39: MissingParamType: Parameter $tokenId has no provided type (see https://psalm.dev/154)
MissingParamType: src/Repository/Pdo/AccessTokenRepository.php#L103
src/Repository/Pdo/AccessTokenRepository.php:103:42: MissingParamType: Parameter $tokenId has no provided type (see https://psalm.dev/154)
ci / Generate job matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636