runtime(compiler): Add PHPStan compiler

Commit: 
https://github.com/vim/vim/commit/f2290a682365c3a99e582bb74c99b0e5c4b98113
Author: Dietrich Moerman <dietrich.moer...@gmail.com>
Date:   Thu Jul 17 20:27:18 2025 +0200

    runtime(compiler): Add PHPStan compiler
    
    closes: https://github.com/vim/vim/issues/17781
    
    Signed-off-by: Dietrich Moerman <dietrich.moer...@gmail.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/.github/MAINTAINERS b/.github/MAINTAINERS
index cb73fc4a5..98852e920 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 000000000..7d1592be8
--- /dev/null
+++ b/runtime/compiler/phpstan.vim
@@ -0,0 +1,12 @@
+" Vim compiler file
+" Compiler:    PHPStan
+" Maintainer:  Dietrich Moerman <dietrich.moer...@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%.%#

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1ucTMs-00Bd2w-3F%40256bit.org.

Raspunde prin e-mail lui