diff --git a/drupal/phpcs.el b/drupal/phpcs.el index 723f9fa..f949303 100644 --- a/drupal/phpcs.el +++ b/drupal/phpcs.el @@ -34,8 +34,7 @@ ;; command. Check for both. (call-process (or (and (boundp 'flymake-phpcs-command) (executable-find flymake-phpcs-command)) (executable-find "phpcs")) nil (list t nil) nil "-i"))))) (when (string-match - "\\(Drupal[^, -]*\\)" + "Drupal" standards) (match-string-no-properties 1 standards)))) "Name of Drupal coding standard rules for PHP CodeSniffer.