Skip to content

[Server] Oauth2 based on middleware #617

[Server] Oauth2 based on middleware

[Server] Oauth2 based on middleware #617

Triggered via pull request February 22, 2026 10:25
Status Failure
Total duration 2m 15s
Artifacts

pipeline.yaml

on: pull_request
Matrix: unit
Fit to window
Zoom out
Zoom in

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.