Skip to content

Fix PHPStan errors for mcp/sdk compatibility #8

Fix PHPStan errors for mcp/sdk compatibility

Fix PHPStan errors for mcp/sdk compatibility #8

Triggered via push January 10, 2026 03:40
Status Failure
Total duration 20s
Artifacts

ci.yml

on: push
Code Coverage
15s
Code Coverage
Static Analysis
17s
Static Analysis
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Static Analysis
Process completed with exit code 1.
Static Analysis: src/McpError.php#L387
Parameter #1 $id of class Mcp\Schema\JsonRpc\Error constructor expects int|string, null given.
Static Analysis: src/ErrorBag.php#L290
Parameter #1 $id of class Mcp\Schema\JsonRpc\Error constructor expects int|string, null given.