aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/pretty-php.lua
blob: 270a8d65ffb9f23d3ab5347581d816e412907fbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
local util = require("conform.util")

---@type conform.FileFormatterConfig
return {
  meta = {
    url = "https://github.com/lkrms/pretty-php",
    description = "The opinionated PHP code formatter.",
  },
  command = util.find_executable({
    "vendor/bin/pretty-php",
  }, "pretty-php"),
  args = { "$FILENAME" },
  stdin = false,
}