Skip to content

Update opis/json-schema version constraint#190

Open
tacman wants to merge 1 commit intojolicode:mainfrom
tacman:patch-1
Open

Update opis/json-schema version constraint#190
tacman wants to merge 1 commit intojolicode:mainfrom
tacman:patch-1

Conversation

@tacman
Copy link
Copy Markdown

@tacman tacman commented Mar 31, 2026

resolve the version conflict with mcp/sdk.

resolve the version conflict with mcp/sdk.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the dev dependency constraint for opis/json-schema to resolve a Composer version conflict with mcp/sdk.

Changes:

  • Broaden opis/json-schema in require-dev from ^1.0 to ^1.0 || ^2.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"friendsofphp/php-cs-fixer": "^3.2.2",
"symfony/phpunit-bridge": "^6.0 || ^7.0 || ^8.0",
"opis/json-schema": "^1.0",
"opis/json-schema": "^1.0 || ^2.0",
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Widening the constraint to allow opis/json-schema v2 implicitly claims compatibility, but the repo has code paths (e.g., SchemaChecker/CheckerCommand used by bin/slack-api-client-generator) that call Opis\JsonSchema APIs and aren’t covered by CI/tests. Please either (a) add a CI step/matrix to exercise the checker command with v2 installed, or (b) keep the constraint on ^1.0 until compatibility with v2 is verified.

Suggested change
"opis/json-schema": "^1.0 || ^2.0",
"opis/json-schema": "^1.0",

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants