closes: #17781
Signed-off-by: Dietrich Moerman <dietrich.moerman@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
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
--- /dev/null
+" Vim compiler file
+" Compiler: PHPStan
+" Maintainer: Dietrich Moerman <dietrich.moerman@gmail.com>
+" 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%.%#