File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ checker runs those.
5151See 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 )
You can’t perform that action at this time.
0 commit comments