NuCivic / ansible-dev-vm

8 stars 5 forks source link

Drupal code_sniffer is broken. #45

Closed dkinzer closed 5 years ago

dkinzer commented 8 years ago

I was able to get vim Drupal Code_Sniffer to work locally by doing the following two things:

  1. Adding ~/.composer/vendor/bin to my $PATH env variable.
  2. Completely removing the old phpcs installed in ~/.composer/vendor and reinstalling using composer require drupal/coder: see https://www.drupal.org/node/1419988

There are several things that need to happen in order to make ansible do this for us.