An automated tool for updating and refactoring PHP 5.3+ code. More information: https://github.com/rectorphp/rector.
rector process {{path/to/directory}}
rector process {{path/to/directory}} --dry-run
rector process {{path/to/directory}} --with-style
rector levels
rector process {{path/to/directory}} --level {{level_name}}