forked from Snoweuph/Dotfiles_nvim
12 lines
324 B
Lua
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,
|
|
}
|