rector
An automated tool for updating and refactoring PHP 5.3+ code. More information: https://github.com/rectorphp/rector.
- Process a specific directory:
rector process
- Simulate processing a directory without applying changes:
rector process --dry-run
- Process a directory and apply coding standards:
rector process --with-style
- Display a list of available levels:
rector levels
- Process a directory with a specific level:
rector process --level
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
