DrupalCodingStandard
DrupalCodingStandard copied to clipboard
It doesn't seems to work for CodeSniffer 2.x with Coder for Drupal 8
I got this message below when I hit command+B:
[Errno 2] No such file or directory
[cmd: [u'phpcs', u'--report=emacs', u'--standard=Drupal', u'--extensions=php,module,inc,install,test,profile,theme', u'/Library/WebServer/Documents/drupal7/sites/all/modules/auto_nodetitle/auto_nodetitle.module']]
[dir: /Library/WebServer/Documents/drupal7/sites/all/modules/auto_nodetitle]
[path: /usr/bin:/bin:/usr/sbin:/sbin]
[Finished]
Seems it doesn't tell me where the bad code is. Please note that I'm also using SublimeText 2.
Please advise. Thanks