Skip to content

Instantly share code, notes, and snippets.

View MaskyS's full-sized avatar
🖋️

Kifah Meeran MaskyS

🖋️
View GitHub Profile
@MaskyS
MaskyS / vim_phpcs_drupal_syntastic.txt
Last active December 23, 2017 08:37 — forked from komlenic/vim_phpcs_drupal_syntastic.txt
Installing drupal code standards in vim + syntastic
# Install vim syntastic (and php) first.
# Download the Drupal coder module. You could do this via other methods but git is nice.
# You can place this wherever, but take note of where you placed it. Something like
# /usr/local/src might be good.
git clone --branch 8.x-2.x http://git.drupal.org/project/coder.git
# Install php code sniffer (phpcs). Using pear.
pear install PHP_CodeSniffer
# Test if phpcs was installed correctly.