Skip to content

Device Authorization Grant #17

Device Authorization Grant

Device Authorization Grant #17

Triggered via pull request January 17, 2024 23:28
Status Failure
Total duration 35s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

46 errors
Static Analysis (8.3, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L158
Cannot call method generateHttpResponse() on null.
Static Analysis (8.3, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L158
Method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() invoked with 2 parameters, 3 required.
Static Analysis (8.3, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L158
Result of method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() (void) is used.
Static Analysis (8.3, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L159
Parameter #2 $userId of method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() expects string, int|string given.
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)
Process completed with exit code 1.
Static Analysis (8.3, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L158
Cannot call method generateHttpResponse() on null.
Static Analysis (8.3, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L158
Method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() invoked with 2 parameters, 3 required.
Static Analysis (8.3, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L158
Result of method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() (void) is used.
Static Analysis (8.3, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L159
Parameter #2 $userId of method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() expects string, int|string given.
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)
Process completed with exit code 1.
Static Analysis (8.1, prefer-stable, ubuntu-latest)
The job was canceled because "_8_3_prefer-lowest_ubuntu" failed.
Static Analysis (8.1, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L158
Cannot call method generateHttpResponse() on null.
Static Analysis (8.1, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L158
Method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() invoked with 2 parameters, 3 required.
Static Analysis (8.1, prefer-lowest, ubuntu-latest)
The job was canceled because "_8_3_prefer-lowest_ubuntu" failed.
Static Analysis (8.1, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L158
Result of method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() (void) is used.
Static Analysis (8.1, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L158
Cannot call method generateHttpResponse() on null.
Static Analysis (8.1, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L159
Parameter #2 $userId of method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() expects string, int|string given.
Static Analysis (8.1, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L158
Method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() invoked with 2 parameters, 3 required.
Static Analysis (8.1, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L158
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)
Process completed with exit code 1.
Static Analysis (8.1, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L159
Parameter #2 $userId of method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() expects string, int|string given.
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)
Process completed with exit code 1.
Static Analysis (8.2, prefer-stable, ubuntu-latest)
The job was canceled because "_8_3_prefer-lowest_ubuntu" failed.
Static Analysis (8.2, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L158
Cannot call method generateHttpResponse() on null.
Static Analysis (8.2, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L158
Method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() invoked with 2 parameters, 3 required.
Static Analysis (8.2, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L158
Result of method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() (void) is used.
Static Analysis (8.2, prefer-stable, ubuntu-latest): src/AuthorizationServer.php#L159
Parameter #2 $userId of method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() expects string, int|string given.
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)
Process completed with exit code 1.
Static Analysis (8.2, prefer-lowest, ubuntu-latest)
The job was canceled because "_8_3_prefer-lowest_ubuntu" failed.
Static Analysis (8.2, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L158
Cannot call method generateHttpResponse() on null.
Static Analysis (8.2, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L158
Method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() invoked with 2 parameters, 3 required.
Static Analysis (8.2, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L158
Result of method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() (void) is used.
Static Analysis (8.2, prefer-lowest, ubuntu-latest): src/AuthorizationServer.php#L159
Parameter #2 $userId of method League\OAuth2\Server\Grant\GrantTypeInterface::completeDeviceAuthorizationRequest() expects string, int|string given.
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)
The operation was canceled.