Remove php-cs-fixer formatter

It doesn't behave well
This commit is contained in:
2023-09-15 22:34:41 +02:00
parent b69937a6a6
commit 2f9bccf88a
-23
View File
@@ -124,7 +124,6 @@ return {
formatFiletypes = { formatFiletypes = {
python = { "black", "isort", }, python = { "black", "isort", },
sh = { "shfmt", }, sh = { "shfmt", },
php = { "php_cs_fixer", },
}, },
formatters = { formatters = {
black = { black = {
@@ -161,28 +160,6 @@ return {
isStderr = false, isStderr = false,
ignoreExitCode = false, ignoreExitCode = false,
}, },
php_cs_fixer = {
sourceName = "php-cs-fixer",
command = "./vendor/bin/php-cs-fixer",
args = {
"fix",
"--no-ansi",
"--using-cache=no",
"--quiet",
"--no-interaction",
"%file",
},
isStdout = false,
isStderr = false,
doesWriteToFile = true,
ignoreExitCode = false,
rootPatterns = {
"composer.json",
"composer.lock",
"vendor",
".git",
},
},
phpcbf = { phpcbf = {
command = "./vendor/bin/phpcbf", command = "./vendor/bin/phpcbf",
args = { args = {