From f5f8498cf27931e06645c9fe020b9c28dce49d98 Mon Sep 17 00:00:00 2001 From: Zack Teska Date: Mon, 11 Mar 2024 09:54:42 -0600 Subject: fix: add cwd to honor project php-cs-fixer (#325) --- lua/conform/formatters/php_cs_fixer.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/conform/formatters/php_cs_fixer.lua b/lua/conform/formatters/php_cs_fixer.lua index e63ec42..bff5a62 100644 --- a/lua/conform/formatters/php_cs_fixer.lua +++ b/lua/conform/formatters/php_cs_fixer.lua @@ -12,4 +12,5 @@ return { }, "php-cs-fixer"), args = { "fix", "$FILENAME" }, stdin = false, + cwd = util.root_file({ "composer.json" }), } -- cgit v1.2.3-70-g09d2