florenttorregrosa / phpcs_drupal
Additional rules for Drupal coding standards.
Installs: 12 829
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:phpcodesniffer-standard
Requires
- php: >=7.1
- ext-mbstring: *
- dealerdirect/phpcodesniffer-composer-installer: ^1.0
- squizlabs/php_codesniffer: ^3.7.1
- symfony/yaml: >=3.4.0
Requires (Dev)
- drupal/coder: ^8.3
- phpunit/phpunit: ^7.0 || ^8.0
README
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.
Installation
Same installation instructions as Drupal Coder.
Replace the Composer package drupal/coder
by florenttorregrosa/phpcs_drupal
in the instructions.
Configuration
Same configuration instructions as Drupal Coder.
The additional ruleset is named FlorentTorregrosaDrupalPractice
.
Maintainers
Credits
Coder maintainers and contributors, the structure of the package is a modified copy of the work done on Coder.