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