### Refactoring code with [rector](https://getrector.com) #### Installation Run in this folder ```shell cd dev/tools/rector ``` Install rector with composer ```shell composer install ``` #### Usage ##### To make changes (Add --dry-run for test mode only) ```shell cd dev/tools/rector ./vendor/bin/rector process --dry-run ``` ##### To make changes on a given directory ```shell cd dev/tools/rector ./vendor/bin/rector process [--dry-run] [--clear-cache] ../../../htdocs/core/ ```