Skip to content

Fix typing error

Fix typing error #4

Triggered via push January 10, 2024 23:09
Status Failure
Total duration 35s
Artifacts
Matrix: Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

65 errors
Static Analysis (8.3, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L159
Cannot call method generateHttpResponse() on null.
Static Analysis (8.3, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L159
Method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() invoked with 2 parameters, 3 required.
Static Analysis (8.3, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L159
Result of method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() (void) is used.
Static Analysis (8.3, prefer-stable, ubuntu-latest): src/Entities/Traits/AccessTokenTrait.php (in context of class LeagueTests/Stubs/AccessTokenEntity)#L70
Parameter #1 $subject of method Lcobucci\JWT\Builder::relatedTo() expects non-empty-string, string|null given.
Static Analysis (8.3, prefer-stable, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L129
Cannot call method setUserIdentifier() on League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null.
Static Analysis (8.3, prefer-stable, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L130
Cannot call method setUserApproved() on League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null.
Static Analysis (8.3, prefer-stable, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L132
Parameter #1 $deviceCodeEntity of method League\OAuth2\Server\Repositories\DeviceCodeRepositoryInterface::persistDeviceCode() expects League\OAuth2\Server\Entities\DeviceCodeEntityInterface, League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null given.
Static Analysis (8.3, prefer-stable, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L212
Method League\OAuth2\Server\Repositories\DeviceCodeRepositoryInterface::getDeviceCodeEntityByDeviceCode() invoked with 3 parameters, 1 required.
Static Analysis (8.3, prefer-stable, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L218
Cannot call method getLastPolledAt() on League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null.
Static Analysis (8.3, prefer-lowest, ubuntu-latest)
The job was canceled because "_8_3_prefer-stable_ubuntu" failed.
Static Analysis (8.3, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L159
Cannot call method generateHttpResponse() on null.
Static Analysis (8.3, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L159
Method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() invoked with 2 parameters, 3 required.
Static Analysis (8.3, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L159
Result of method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() (void) is used.
Static Analysis (8.3, prefer-lowest, ubuntu-latest): src/Entities/Traits/AccessTokenTrait.php (in context of class LeagueTests/Stubs/AccessTokenEntity)#L70
Parameter #1 $subject of method Lcobucci\JWT\Builder::relatedTo() expects non-empty-string, string|null given.
Static Analysis (8.3, prefer-lowest, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L129
Cannot call method setUserIdentifier() on League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null.
Static Analysis (8.3, prefer-lowest, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L130
Cannot call method setUserApproved() on League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null.
Static Analysis (8.3, prefer-lowest, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L132
Parameter #1 $deviceCodeEntity of method League\OAuth2\Server\Repositories\DeviceCodeRepositoryInterface::persistDeviceCode() expects League\OAuth2\Server\Entities\DeviceCodeEntityInterface, League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null given.
Static Analysis (8.3, prefer-lowest, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L212
Method League\OAuth2\Server\Repositories\DeviceCodeRepositoryInterface::getDeviceCodeEntityByDeviceCode() invoked with 3 parameters, 1 required.
Static Analysis (8.3, prefer-lowest, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L218
Cannot call method getLastPolledAt() on League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null.
Static Analysis (8.1, prefer-stable, ubuntu-latest)
The job was canceled because "_8_3_prefer-stable_ubuntu" failed.
Static Analysis (8.1, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L159
Cannot call method generateHttpResponse() on null.
Static Analysis (8.1, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L159
Method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() invoked with 2 parameters, 3 required.
Static Analysis (8.1, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L159
Result of method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() (void) is used.
Static Analysis (8.1, prefer-stable, ubuntu-latest): src/Entities/Traits/AccessTokenTrait.php (in context of class LeagueTests/Stubs/AccessTokenEntity)#L70
Parameter #1 $subject of method Lcobucci\JWT\Builder::relatedTo() expects non-empty-string, string|null given.
Static Analysis (8.1, prefer-stable, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L129
Cannot call method setUserIdentifier() on League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null.
Static Analysis (8.1, prefer-stable, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L130
Cannot call method setUserApproved() on League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null.
Static Analysis (8.1, prefer-stable, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L132
Parameter #1 $deviceCodeEntity of method League\OAuth2\Server\Repositories\DeviceCodeRepositoryInterface::persistDeviceCode() expects League\OAuth2\Server\Entities\DeviceCodeEntityInterface, League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null given.
Static Analysis (8.1, prefer-stable, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L212
Method League\OAuth2\Server\Repositories\DeviceCodeRepositoryInterface::getDeviceCodeEntityByDeviceCode() invoked with 3 parameters, 1 required.
Static Analysis (8.1, prefer-stable, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L218
Cannot call method getLastPolledAt() on League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null.
Static Analysis (8.1, prefer-lowest, ubuntu-latest)
The job was canceled because "_8_3_prefer-stable_ubuntu" failed.
Static Analysis (8.1, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L159
Cannot call method generateHttpResponse() on null.
Static Analysis (8.1, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L159
Method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() invoked with 2 parameters, 3 required.
Static Analysis (8.1, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L159
Result of method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() (void) is used.
Static Analysis (8.1, prefer-lowest, ubuntu-latest): src/Entities/Traits/AccessTokenTrait.php (in context of class LeagueTests/Stubs/AccessTokenEntity)#L70
Parameter #1 $subject of method Lcobucci\JWT\Builder::relatedTo() expects non-empty-string, string|null given.
Static Analysis (8.1, prefer-lowest, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L129
Cannot call method setUserIdentifier() on League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null.
Static Analysis (8.1, prefer-lowest, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L130
Cannot call method setUserApproved() on League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null.
Static Analysis (8.1, prefer-lowest, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L132
Parameter #1 $deviceCodeEntity of method League\OAuth2\Server\Repositories\DeviceCodeRepositoryInterface::persistDeviceCode() expects League\OAuth2\Server\Entities\DeviceCodeEntityInterface, League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null given.
Static Analysis (8.1, prefer-lowest, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L212
Method League\OAuth2\Server\Repositories\DeviceCodeRepositoryInterface::getDeviceCodeEntityByDeviceCode() invoked with 3 parameters, 1 required.
Static Analysis (8.1, prefer-lowest, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L218
Cannot call method getLastPolledAt() on League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null.
Static Analysis (8.2, prefer-lowest, ubuntu-latest)
The job was canceled because "_8_3_prefer-stable_ubuntu" failed.
Static Analysis (8.2, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L159
Cannot call method generateHttpResponse() on null.
Static Analysis (8.2, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L159
Method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() invoked with 2 parameters, 3 required.
Static Analysis (8.2, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L159
Result of method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() (void) is used.
Static Analysis (8.2, prefer-lowest, ubuntu-latest): src/Entities/Traits/AccessTokenTrait.php (in context of class LeagueTests/Stubs/AccessTokenEntity)#L70
Parameter #1 $subject of method Lcobucci\JWT\Builder::relatedTo() expects non-empty-string, string|null given.
Static Analysis (8.2, prefer-lowest, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L129
Cannot call method setUserIdentifier() on League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null.
Static Analysis (8.2, prefer-lowest, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L130
Cannot call method setUserApproved() on League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null.
Static Analysis (8.2, prefer-lowest, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L132
Parameter #1 $deviceCodeEntity of method League\OAuth2\Server\Repositories\DeviceCodeRepositoryInterface::persistDeviceCode() expects League\OAuth2\Server\Entities\DeviceCodeEntityInterface, League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null given.
Static Analysis (8.2, prefer-lowest, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L212
Method League\OAuth2\Server\Repositories\DeviceCodeRepositoryInterface::getDeviceCodeEntityByDeviceCode() invoked with 3 parameters, 1 required.
Static Analysis (8.2, prefer-lowest, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L218
Cannot call method getLastPolledAt() on League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null.
Static Analysis (8.2, prefer-stable, ubuntu-latest)
The job was canceled because "_8_3_prefer-stable_ubuntu" failed.
Static Analysis (8.2, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L159
Cannot call method generateHttpResponse() on null.
Static Analysis (8.2, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L159
Method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() invoked with 2 parameters, 3 required.
Static Analysis (8.2, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L159
Result of method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() (void) is used.
Static Analysis (8.2, prefer-stable, ubuntu-latest): src/Entities/Traits/AccessTokenTrait.php (in context of class LeagueTests/Stubs/AccessTokenEntity)#L70
Parameter #1 $subject of method Lcobucci\JWT\Builder::relatedTo() expects non-empty-string, string|null given.
Static Analysis (8.2, prefer-stable, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L129
Cannot call method setUserIdentifier() on League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null.
Static Analysis (8.2, prefer-stable, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L130
Cannot call method setUserApproved() on League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null.
Static Analysis (8.2, prefer-stable, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L132
Parameter #1 $deviceCodeEntity of method League\OAuth2\Server\Repositories\DeviceCodeRepositoryInterface::persistDeviceCode() expects League\OAuth2\Server\Entities\DeviceCodeEntityInterface, League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null given.
Static Analysis (8.2, prefer-stable, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L212
Method League\OAuth2\Server\Repositories\DeviceCodeRepositoryInterface::getDeviceCodeEntityByDeviceCode() invoked with 3 parameters, 1 required.
Static Analysis (8.2, prefer-stable, ubuntu-latest): src/Grant/DeviceCodeGrant.php#L218
Cannot call method getLastPolledAt() on League\OAuth2\Server\Entities\DeviceCodeEntityInterface|null.