forked from Wavyzz/dolibarr
This adds a hook to .pre-commit-config.yaml and updates the workflow to run php-cs with cache when it is run for all files. When running on changed files only, the cache is not useful. The php-codesniffer ruleset.xml was cleaned up (duplicates removal/formatted)
Setting up for Dolibarr development
Check out the online documentation for recommendations (to be updated).
If anything, install pre-commit - it will help run the tools to format and
make some basic verifications on your submission before committing and pushing
to github for a PR. See a quick start guide in this
Dolibarr repository.