From c3afeebb711126782e4ce92fa6641a341a2fc8bc Mon Sep 17 00:00:00 2001 From: jradtilbrook Date: Wed, 16 Apr 2025 08:53:51 +0800 Subject: [PATCH] Add neotest config for PHP test runners --- lua/lazyvim/plugins/extras/lang/php.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/lua/lazyvim/plugins/extras/lang/php.lua b/lua/lazyvim/plugins/extras/lang/php.lua index 5a2835aa..964226ac 100644 --- a/lua/lazyvim/plugins/extras/lang/php.lua +++ b/lua/lazyvim/plugins/extras/lang/php.lua @@ -84,4 +84,21 @@ return { }, }, }, + + { + "nvim-neotest/neotest", + optional = true, + dependencies = { + "V13Axel/neotest-pest", + "olimorris/neotest-phpunit", + }, + opts = { + adapters = { + "neotest-pest", + ["neotest-phpunit"] = { + root_ignore_files = { "tests/Pest.php" }, + }, + }, + }, + }, }