dolibarr/dev/tools/rector/readme.md
Dev2a dc4e17a353 Add Rector (automatic refactoring)
Add first rule: access global to function (getDolGlobalInt, getDolGlobalString)
2023-10-08 20:25:46 +02:00

291 B

Refactoring code with rector

Installation

run in this folder

composer install

Usage

To see change before apply
./vendor/bin/rector process --dry-run
To apply change
./vendor/bin/rector process