forked from Wavyzz/dolibarr
The files with exceptions can be updated as there are many less cases to exclude. In the project files there are a few minor spelling corrections, and `$scrit` was changed to `$search_crit` to avoid a spelling suggestion.
Refactoring code with rector
Installation
Run in this folder
cd dev/tools/rector
Install rector with composer
composer install
Usage
To make changes (Add --dry-run for test mode only)
cd dev/tools/rector
./vendor/bin/rector process --dry-run
To make changes on a given directory
cd dev/tools/rector
./vendor/bin/rector process [--dry-run] [--clear-cache] ../../../htdocs/core/