1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/roave-backward-compatibility-check.md
2020-12-29 19:45:05 +08:00

20 lines
686 B
Markdown

# roave-backward-compatibility-check
> A tool that can be used to verify backward compatibility breaks between two versions of a PHP library.
> More information: <https://github.com/Roave/BackwardCompatibilityCheck>.
- Check for breaking changes since the last tag:
`roave-backward-compatibility-check`
- Check for breaking changes since a specific tag:
`roave-backward-compatibility-check --from={{git_reference}}`
- Check for breaking changes between the last tag and a specific reference:
`roave-backward-compatibility-check --to={{git_reference}}`
- Check for breaking changes and output to Markdown:
`roave-backward-compatibility-check --format=markdown > {{results.md}}`