Skip to content

Commit 44ea6bf

Browse files
committed
Merge pull request #52 from arnested/flycheck-updates
Flycheck updates
2 parents e6f955e + e803c00 commit 44ea6bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drupal/flycheck.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ checker runs those.
5151
See URL `http://pear.php.net/package/PHP_CodeSniffer/'."
5252
:command ("phpcs" "--report=emacs"
5353
(option "--standard=" flycheck-phpcs-standard)
54-
source)
54+
source-inplace)
5555
;; Though phpcs supports Checkstyle output which we could feed to
5656
;; `flycheck-parse-checkstyle', we are still using error patterns here,
5757
;; because PHP has notoriously unstable output habits. See URL
@@ -67,7 +67,7 @@ See URL `http://pear.php.net/package/PHP_CodeSniffer/'."
6767
;; We'd prefer to just check drupal-mode, but flycheck global mode
6868
;; finds the checker before we get a chance to set drupal-mode.
6969
:predicate (lambda ()
70-
(apply 'derived-mode-p (append drupal-php-modes drupal-css-modes drupal-js-modes drupal-info-modes))))
70+
(apply 'derived-mode-p (append drupal-css-modes drupal-js-modes drupal-info-modes))))
7171

7272
;; Append our custom checker.
7373
(add-to-list 'flycheck-checkers 'drupal-phpcs t)

0 commit comments

Comments
 (0)