Conversation
…t uses The component allows api-platform/metadata ^4.3, so the lowest install resolves 4.3.0, which has neither McpTool::getTitle(), used by the registry loader since v4.3.5, nor Metadata\Exception\BadRequestException, added in v4.3.19.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PHPUnit api-platform/mcp (PHP 8.5 lowest)fails on every pull request targeting4.3, including #8525 and #8530, with 11 errors:The component allows
api-platform/metadata: ^4.3, socomposer update --prefer-lowestresolvesv4.3.0, which carries neither API:McpTool::getTitle()Capability/Registry/Loader.php:66Metadata\Exception\BadRequestExceptionTests/Server/HandlerTest.php:345The second one arrived with #8525, which fixed the previous round of this on the same job, so the floor simply trailed behind the code twice.
Raising it to
^4.3.19matches what the other components already do,api-platform/serializer:^4.3.12andapi-platform/validator:^4.3.1.Verified by running what the workflow runs, in
src/Mcp:4.4andmainare unaffected, they require^4.4and^5.0.