blob: c2575d18d427010101f7bd7b0696002720c569d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
local util = require("conform.util")
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://github.com/nunomaduro/phpinsights",
description = "The perfect starting point to analyze the code quality of your PHP projects.",
},
command = util.find_executable({
"vendor/bin/phpinsights",
}, "phpinsights"),
args = { "fix", "$FILENAME", "--no-interaction", "--quiet" },
cwd = util.root_file({
"phpinsights.php",
}),
stdin = false,
}
|