2019-06-12 22:01:31 +01:00
|
|
|
# roave-backward-compatibility-check
|
|
|
|
|
2024-02-14 20:25:13 +00:00
|
|
|
> Verify backward compatibility breaks between two versions of a PHP library.
|
2019-06-12 22:01:31 +01:00
|
|
|
> 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}}`
|
|
|
|
|
2020-12-29 11:45:05 +00:00
|
|
|
- Check for breaking changes and output to Markdown:
|
2019-06-12 22:01:31 +01:00
|
|
|
|
|
|
|
`roave-backward-compatibility-check --format=markdown > {{results.md}}`
|