1
0
Fork 1
Dotfiles_nvim/lua/toolchain/php/formatter.lua

13 lines
324 B
Lua
Raw Normal View History

2024-07-02 21:52:43 +00:00
---@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,
}