From: Dietrich Moerman Date: Thu, 17 Jul 2025 18:27:18 +0000 (+0200) Subject: runtime(compiler): Add PHPStan compiler X-Git-Tag: v9.1.1559~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2290a682365c3a99e582bb74c99b0e5c4b98113;p=thirdparty%2Fvim.git runtime(compiler): Add PHPStan compiler closes: #17781 Signed-off-by: Dietrich Moerman Signed-off-by: Christian Brabandt --- 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%.%#