summaryrefslogtreecommitdiff
path: root/uvim/runtime/compiler/phpstan.vim
diff options
context:
space:
mode:
Diffstat (limited to 'uvim/runtime/compiler/phpstan.vim')
-rw-r--r--uvim/runtime/compiler/phpstan.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/uvim/runtime/compiler/phpstan.vim b/uvim/runtime/compiler/phpstan.vim
new file mode 100644
index 0000000000..7d1592be8f
--- /dev/null
+++ b/uvim/runtime/compiler/phpstan.vim
@@ -0,0 +1,12 @@
+" 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%.%#