Add support for roave/backward-compatibility-check tool#974
Merged
shivammathur merged 5 commits intoJul 17, 2025
Conversation
Co-authored-by: shivammathur <[email protected]>
Co-authored-by: shivammathur <[email protected]>
Copilot
AI
changed the title
[WIP] Create a PR adding roave/backward-compatibility-check similar to previous PRs for adding other composer based tools, include tests, entry in the tools section for the tool and a link to the repo at the bottom of the README like other tools.
Add support for roave/backward-compatibility-check tool
Jul 17, 2025
shivammathur
requested changes
Jul 17, 2025
…ool to backward-compatibility-check Co-authored-by: shivammathur <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #974 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 7 7
Lines 805 805
Branches 284 285 +1
=========================================
Hits 805 805 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
shivammathur
approved these changes
Jul 17, 2025
shivammathur
requested changes
Jul 17, 2025
Owner
shivammathur
left a comment
There was a problem hiding this comment.
Rebase it on develop, I changed the base to develop
Contributor
Author
Branch has been successfully rebased on develop in commit 1c12093. All changes are preserved and tests are passing. |
shivammathur
approved these changes
Jul 17, 2025
1 task
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.
This PR adds support for the
roave/backward-compatibility-checktool, a popular Composer package used to detect backward compatibility breaks in PHP libraries.Changes Made
1. Tool Configuration
roave-backward-compatibility-checktosrc/configs/tools.jsonas a scoped Composer tool2. Documentation Updates
3. Test Coverage
__tests__/tools.test.ts4. Bug Fix
addPackagefunction to usedata['tool']instead ofparts[1]for proper tool naming, ensuring aliases work correctlyUsage
Users can now install roave/backward-compatibility-check using:
The tool will be installed as a scoped Composer dependency and be available for use in CI workflows to check for backward compatibility breaks.
Testing
Closes: Request for adding roave/backward-compatibility-check tool support
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.