Проверка Drupal Code style онлайн http://www.badscript.net/drupal-code-sniffer
https://drupal.org/user/1767626