diff --git a/.github/MAINTAINERS b/.github/MAINTAINERS index cb73fc4a52..98852e9206 100644 --- a/.github/MAINTAINERS +++ b/.github/MAINTAINERS @@ -76,6 +76,7 @@ runtime/compiler/pandoc.vim @Konfekt runtime/compiler/perl.vim @petdance @heptite runtime/compiler/perlcritic.vim @petdance @dkearns runtime/compiler/php.vim @dkearns +runtime/compiler/phpstan.vim @dietrichm runtime/compiler/podchecker.vim @petdance @dkearns runtime/compiler/powershell.vim @heaths runtime/compiler/raco.vim @benknoble diff --git a/runtime/compiler/phpstan.vim b/runtime/compiler/phpstan.vim new file mode 100644 index 0000000000..7d1592be8f --- /dev/null +++ b/runtime/compiler/phpstan.vim @@ -0,0 +1,12 @@ +" Vim compiler file +" Compiler: PHPStan +" Maintainer: Dietrich Moerman +" Last Change: 2025 Jul 17 + +if exists("current_compiler") + finish +endif +let current_compiler = "phpstan" + +CompilerSet makeprg=composer\ exec\ --\ phpstan\ analyse\ -v\ --no-progress\ --error-format=raw +CompilerSet errorformat=%f:%l:%m,%-G%.%#