Skip to content

Commit 4d4a41d

Browse files
committed
Change errorFormat to error-format
The errorFormat option was deprecated by phpstan/phpstan#1338
1 parent beac0e0 commit 4d4a41d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpstan.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ it returns the value of `SOURCE' as it is."
244244
(defun phpstan-get-command-args ()
245245
"Return command line argument for PHPStan."
246246
(let ((executable (phpstan-get-executable))
247-
(args (list "analyze" "--errorFormat=raw" "--no-progress" "--no-interaction"))
247+
(args (list "analyze" "--error-format=raw" "--no-progress" "--no-interaction"))
248248
(path (phpstan-normalize-path (phpstan-get-config-file)))
249249
(level (phpstan-get-level)))
250250
(when path

0 commit comments

Comments
 (0)