From f2b9e7a167e4d586770b8b5f45ae3a3b94449dd9 Mon Sep 17 00:00:00 2001 From: Matus Goljer Date: Wed, 11 Apr 2018 13:39:29 +0200 Subject: [PATCH] Add -no-progress We don't need to dump progress when running in the background. --- phpstan.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/phpstan.el b/phpstan.el index a1d08f6..c761731 100644 --- a/phpstan.el +++ b/phpstan.el @@ -34,7 +34,11 @@ (when (featurep 'flycheck) (flycheck-define-checker phpstan-checker "PHP static analyzer based on PHPStan." - :command ("phpstan" "analyze" "--errorFormat=raw" source) + :command ("phpstan" + "analyze" + "--no-progress" + "--errorFormat=raw" + source) :working-directory (lambda (_) (php-project-get-root-dir)) :enabled (lambda () (locate-dominating-file "phpstan.neon" default-directory)) :error-patterns