branch: elpa/drupal-mode
commit f57430af6f5b5e59364b36f9327161c7562b2312
Author: Thomas Fini Hansen <[email protected]>
Commit: Thomas Fini Hansen <[email protected]>

    Really no need to check for existence of phpcs command.
---
 drupal/flycheck.el | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drupal/flycheck.el b/drupal/flycheck.el
index fcc44d8013..941680f5ec 100644
--- a/drupal/flycheck.el
+++ b/drupal/flycheck.el
@@ -46,7 +46,6 @@ so no need to highlight it twice."
 (defun drupal/flycheck-hook ()
   "Enable drupal-mode support for flycheck."
   (when (and (apply 'derived-mode-p (append drupal-php-modes drupal-css-modes 
drupal-js-modes))
-             (executable-find "phpcs")
              drupal/phpcs-standard)
     ;; Set the coding standard to "Drupal" (we checked that it is
     ;; supported above.

Reply via email to