2
0
forked from Wavyzz/dolibarr
Files
dolibarr-fork/dev/tools/rector
MDW 2e254892ea Qual: Clean up codespell exceptions (#28104)
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.
2024-02-10 17:27:36 +01:00
..
2023-11-27 11:39:32 +01:00

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/