1
0
Fork 1
Dotfiles_nvim/lua/toolchain/php/formatter.lua
2024-07-02 23:52:43 +02:00

12 lines
324 B
Lua

---@type ToolchainFormatters
return {
plugins = {},
setup = function(null_ls)
return {
null_ls.builtins.formatting.phpcsfixer.with({
prefer_local = 'vendor/bin/php-cs-fixer',
args = { 'fix', '--allow-risky=yes', '$FILENAME' },
}),
}
end,
}