This library defines rules for PHP_CodeSniffer.
It is intended to be used in addition of Drupal Coder and it does not replace it, only provides additional rules.
Same installation instructions as Drupal Coder.
Replace the Composer package drupal/coder
by florenttorregrosa/phpcs_drupal
in the instructions.
Same configuration instructions as Drupal Coder.
The additional ruleset is named FlorentTorregrosaDrupalPractice
.
Coder maintainers and contributors, the structure of the package is a modified copy of the work done on Coder.