Directions how to integrate Drupal Code Sniffer into:
See this great blog post on this. http://echodittolabs.org/drupal-coding-standards-vim-code-sniffer-syntas... The Vimrc project includes the needed Vim configuration: you will still have to install Drupal Code Sniffer and the Syntastic plugin for vim.
See this github repository. https://github.com/sirkitree/DrupalCodingStandard
See this blog post on this. http://blog.8bitplateau.net/drupa-code-sniffer-komodo/
Details on running phpcs from within Emacs: http://pear.php.net/manual/en/package.php.php-codesniffer.reporting.php (scroll down to the Printing an Emacs Report section, and be sure to replace the
--standard=PEARbit of the command with
You can also integrate phpcs/drupalcs with Emacs' flymake-mode, see http://marmalade-repo.org/packages/flymake-phpcs.