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