Posts with tag #drupal:
Publié le 05/02/2018
|
#drupal
,
#php
Using ZSH?
Create a .zprofile with this: export PATH=$HOME/.composer/vendor/bin:$PATH
Getting CodeSniffer and Drupal Coder
Install code sniffer v2.7 globally with composer (see this issue): composer global require squizlabs/php_codesniffer
Install drupal/coder globally with composer: composer global require drupal/coder
Register the Drupal and DrupalPractice Standard with PHPCS: phpcs --conf...
✦✦✦