Skip to content

Commit a02e1dd

Browse files
committed
Merge pull request #72 from arnested/fix-phpcs-output-parsing
Fix phpcs output parsing
2 parents 9ee19e2 + c3f2427 commit a02e1dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drupal/phpcs.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; drupal/phpcs.el --- Drupal-mode common support for flymake-phpcs and flycheck
22

3-
;; Copyright (C) 2012, 2013 Arne Jørgensen
3+
;; Copyright (C) 2012, 2013, 2016 Arne Jørgensen
44

55
;; Author: Arne Jørgensen <[email protected]>
66

@@ -34,7 +34,7 @@
3434
;; command. Check for both.
3535
(call-process (or (and (boundp 'flymake-phpcs-command) (executable-find flymake-phpcs-command)) (executable-find "phpcs")) nil (list t nil) nil "-i")))))
3636
(when (string-match
37-
"\\(Drupal[^,
37+
"\\(Drupal[^ ,
3838
]*\\)"
3939
standards)
4040
(match-string-no-properties 1 standards))))

0 commit comments

Comments
 (0)