From 04fbca129b249dda9f8270aa5fa3935ae9056e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20S=C3=A4ume?= Date: Mon, 13 Jan 2025 15:02:43 +0100 Subject: [PATCH] Fix: Remove direct PHPstan and CSFixer, because PHPactor allready includes them --- lua/toolchain/php.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lua/toolchain/php.lua b/lua/toolchain/php.lua index eab3cd6..155375b 100644 --- a/lua/toolchain/php.lua +++ b/lua/toolchain/php.lua @@ -7,8 +7,6 @@ function M.setup() T.add_null_ls_module(function(null_ls) return { -- Diagnostics - null_ls.builtins.diagnostics.phpstan, - null_ls.builtins.diagnostics.phpcs, null_ls.builtins.diagnostics.twigcs, -- Formatter null_ls.builtins.formatting.phpcsfixer.with({ @@ -18,7 +16,12 @@ function M.setup() } end) - T.add_lsp_autoinstalls('phpactor', 'twiggy_language_server', 'stimulus_ls') + T.add_lsp_autoinstalls( + 'phpactor', + 'php-debug-adapter', + 'twiggy_language_server', + 'stimulus_ls' + ) T.add_lsps(function(lspconfig, capabilities) local config = { capabilities = capabilities } lspconfig.phpactor.setup(config)