Skip to content

[Server] Introduce ClientAwareInterface and Trait #244

[Server] Introduce ClientAwareInterface and Trait

[Server] Introduce ClientAwareInterface and Trait #244

Triggered via pull request October 30, 2025 20:51
Status Failure
Total duration 2m 3s
Artifacts

pipeline.yaml

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

Annotations

3 errors
qa
Process completed with exit code 1.
qa: tests/Unit/Schema/Request/CreateSamplingMessageRequestTest.php#L48
Parameter #1 $messages of class Mcp\Schema\Request\CreateSamplingMessageRequest constructor expects array<Mcp\Schema\Content\SamplingMessage>, array<int, Mcp\Schema\Content\SamplingMessage|Mcp\Schema\Content\TextContent> given.
qa: src/Schema/Request/CreateSamplingMessageRequest.php#L55
Instanceof between Mcp\Schema\Content\SamplingMessage and Mcp\Schema\Content\SamplingMessage will always evaluate to true.