Skip to content

Commit

Permalink
Add coder and PHP Code Sniffer. Addresses #32.
Browse files Browse the repository at this point in the history
  • Loading branch information
ruebot committed Apr 13, 2015
1 parent 20c9ff9 commit 602aa16
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions install/drupal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,12 @@ drush -y en islandora
# XML Field module
drush dl xml_field
drush -y en xml_field xml_field_extras

# Coder & Code Sniffer
pear install PHP_CodeSniffer
cd /tmp
wget http://ftp.drupal.org/files/projects/coder-8.x-2.1.tar.gz
tar -xzvf coder-8.x-2.1.tar.gz
mv -v coder /usr/share
chown -hR vagrant:vagrant /usr/share/coder
ln -sv /usr/share/coder/coder_sniffer/Drupal /usr/share/php/PHP/CodeSniffer/Standards

0 comments on commit 602aa16

Please sign in to comment.