Jonathan Green
7 years ago
2 changed files with 12 additions and 1 deletions
@ -0,0 +1,9 @@
|
||||
#!/bin/bash |
||||
|
||||
# Setup phpcs and drupal sniffs. |
||||
mkdir $TOOLS_DIR |
||||
cd $TOOLS_DIR |
||||
composer require drupal/coder |
||||
composer require dealerdirect/phpcodesniffer-composer-installer |
||||
$TOOLS_DIR/vendor/bin/phpcs -i |
||||
$TOOLS_DIR/vendor/bin/phpcs --version |
Loading…
Reference in new issue