[Server] Oauth2 based on middleware #617
Annotations
10 errors
|
qa
Process completed with exit code 1.
|
|
qa:
src/Server/Transport/Http/Middleware/AuthorizationMiddleware.php#L108
Strict comparison using === between array{} and array{0: non-falsy-string, 1?: non-falsy-string, 2?: non-falsy-string, 3?: non-falsy-string} will always evaluate to false.
|
|
qa:
src/Server/Transport/Http/Middleware/AuthorizationMiddleware.php#L89
Method Mcp\Server\Transport\Http\Middleware\AuthorizationMiddleware::buildAuthenticateHeader() never returns null so it can be removed from the return type.
|
|
qa:
examples/server/oauth-microsoft/McpElements.php#L113
Method Mcp\Example\Server\OAuthMicrosoft\McpElements::getServerStatus() return type has no value type specified in iterable type array.
|
|
qa:
examples/server/oauth-microsoft/McpElements.php#L93
Method Mcp\Example\Server\OAuthMicrosoft\McpElements::listEmails() return type has no value type specified in iterable type array.
|
|
qa:
examples/server/oauth-microsoft/McpElements.php#L68
Method Mcp\Example\Server\OAuthMicrosoft\McpElements::callGraphApi() return type has no value type specified in iterable type array.
|
|
qa:
examples/server/oauth-microsoft/McpElements.php#L32
Method Mcp\Example\Server\OAuthMicrosoft\McpElements::getAuthStatus() return type has no value type specified in iterable type array.
|
|
qa:
examples/server/oauth-keycloak/McpElements.php#L95
Method Mcp\Example\Server\OAuthKeycloak\McpElements::getServerStatus() return type has no value type specified in iterable type array.
|
|
qa:
examples/server/oauth-keycloak/McpElements.php#L69
Method Mcp\Example\Server\OAuthKeycloak\McpElements::callProtectedApi() return type has no value type specified in iterable type array.
|
|
qa:
examples/server/oauth-keycloak/McpElements.php#L34
Method Mcp\Example\Server\OAuthKeycloak\McpElements::getAuthStatus() return type has no value type specified in iterable type array.
|