diff --git a/syntax_checkers/php/phpstan.vim b/syntax_checkers/php/phpstan.vim index 8edb5848..55102cef 100644 --- a/syntax_checkers/php/phpstan.vim +++ b/syntax_checkers/php/phpstan.vim @@ -29,7 +29,7 @@ function! SyntaxCheckers_php_phpstan_GetLocList() dict let makeprg = self.makeprgBuild({ \ 'exe_after': 'analyse', \ 'args': '--level=5', - \ 'args_after': '--errorFormat raw' }) + \ 'args_after': '--error-format raw' }) let errorformat = '%f:%l:%m'