Files
tldr/pages.zh/common/roave-backward-compatibility-check.md

20 lines
630 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# roave-向后兼容性检查
> 验证两个版本的 PHP 库之间的向后兼容性破坏。
> 更多信息:<https://github.com/Roave/BackwardCompatibilityCheck>。
- 检查自上一个标签以来的破坏性更改:
`roave-backward-compatibility-check`
- 检查自特定标签以来的破坏性更改:
`roave-backward-compatibility-check --from={{git_reference}}`
- 检查自上一个标签与特定引用之间的破坏性更改:
`roave-backward-compatibility-check --to={{git_reference}}`
- 检查破坏性更改并输出为 Markdown
`roave-backward-compatibility-check --format=markdown > {{results.md}}`