Skip to content

feat(dev): breaking change detector as a PHP command - #9727

Closed
bshaffer wants to merge 3 commits into
mainfrom
feat/bc-detector-php-command
Closed

bshaffer wants to merge 3 commits into
mainfrom
feat/bc-detector-php-command

Conversation

@bshaffer

@bshaffer bshaffer commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor
  • Add ./dev/google-cloud component:breaking-changes using SnapshotBuilder and Symfony\Component\Process\Process (-c, --base-ref, --format).
  • Update release-checks.yaml to invoke component:breaking-changes per changed component.

Replaces the repo-wide Roave run with a per-component check driven by
./dev/google-cloud, with -c, --format and --report-only options.

- extracts the baseline via a temp index, so export-ignored paths are not
  missing from it
- keeps the scratch git dir outside the work tree, so mirroring with delete
  cannot remove git metadata
- covers the git plumbing with fixture-based tests
@bshaffer
bshaffer requested a review from a team as a code owner September 23, 2026 19:29
Roave requires a .git directory at the root of the directory it runs in,
and "dev" is a composer package but not a published component.
@bshaffer
bshaffer marked this pull request as draft September 23, 2026 19:43
@bshaffer bshaffer closed this Sep 24, 2026
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.

1 participant