aboutsummaryrefslogtreecommitdiffstats
path: root/after/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'after/plugin')
-rw-r--r--after/plugin/null-ls.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/after/plugin/null-ls.lua b/after/plugin/null-ls.lua
index e252579..e3027ae 100644
--- a/after/plugin/null-ls.lua
+++ b/after/plugin/null-ls.lua
@@ -28,6 +28,7 @@ local laravel_sources = {
null_ls.builtins.diagnostics.phpstan.with({
command = "./vendor/bin/phpstan",
to_temp_file = false,
+ method = null_ls.methods.DIAGNOSTICS_ON_SAVE,
}),
null_ls.builtins.formatting.pint,
null_ls.builtins.formatting.blade_formatter,
@@ -37,9 +38,11 @@ local symonfy_sources = {
null_ls.builtins.diagnostics.phpstan.with({
command = "./bin/phpstan",
to_temp_file = false,
+ method = null_ls.methods.DIAGNOSTICS_ON_SAVE,
}),
null_ls.builtins.diagnostics.phpcs.with({
command = "./bin/phpcs",
+ method = null_ls.methods.DIAGNOSTICS_ON_SAVE,
}),
}