0

I followed this tutorial, but when I hit cmd-B in Sublime, I get this error:

Warning: include_once(PHP/CodeSniffer/CLI.php): failed to open stream: No such file or directory in /usr/local/bin/phpcs on line 31

Warning: include_once(): Failed opening 'PHP/CodeSniffer/CLI.php' for inclusion (include_path='.:') in /usr/local/bin/phpcs on line 31

Fatal error: Class 'PHP_CodeSniffer_CLI' not found in /usr/local/bin/phpcs on line 34

I'm just working with general PHP files, not in MAMP or anything, and I just want to check if they follow the drupal coding standards. What's going wrong?

Doug Smith
  • 29,668
  • 57
  • 204
  • 388

0 Answers0