LinuxCommandLibrary

rector

rector

TLDR

Process a specific directory

$ rector process [path/to/directory]
copy


Process a directory without applying changes (dry run)
$ rector process [path/to/directory] --dry-run
copy


Process a directory and apply coding standards
$ rector process [path/to/directory] --with-style
copy


Display a list of available levels
$ rector levels
copy


Process a directory with a specific level
$ rector process [path/to/directory] --level [level_name]
copy

Copied to clipboard