aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/pretty-php.lua
blob: bf902dd47e63b7b24e5e5ff74b29b91efe127585 (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,
}