From 64f31c00adc83b1aa3d776870ea0ab5370d6c1bc Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 30 Nov 2018 14:53:45 +0000 Subject: [PATCH] Use --error-format=raw instead of --errorFormat=raw Suppresses the following message from phpstan v0.10.5: > Note: Using the option --errorFormat is deprecated. Use --error-format instead. --- phpstan.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpstan.el b/phpstan.el index ad76ab8..2e962a1 100644 --- a/phpstan.el +++ b/phpstan.el @@ -244,7 +244,7 @@ it returns the value of `SOURCE' as it is." (defun phpstan-get-command-args () "Return command line argument for PHPStan." (let ((executable (phpstan-get-executable)) - (args (list "analyze" "--errorFormat=raw" "--no-progress" "--no-interaction")) + (args (list "analyze" "--error-format=raw" "--no-progress" "--no-interaction")) (path (phpstan-normalize-path (phpstan-get-config-file))) (level (phpstan-get-level))) (when path