Skip to content

Commit abf5c78

Browse files
authored
Merge pull request #13 from MarkRedeman/fix-error-format-deprecation
Change errorFormat to error-format closes #15 Thank you @MarkRedeman and @MarTango.
2 parents beac0e0 + 4d4a41d commit abf5c78

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)