We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7382de commit 023ccc3Copy full SHA for 023ccc3
lua/null-ls/builtins/formatting/pretty_php.lua
@@ -0,0 +1,20 @@
1
+local h = require("null-ls.helpers")
2
+local methods = require("null-ls.methods")
3
+
4
+local FORMATTING = methods.internal.FORMATTING
5
6
+return h.make_builtin({
7
+ name = "pretty_php",
8
+ meta = {
9
+ url = "https://github.com/lkrms/pretty-php",
10
+ description = "The opinionated PHP code formatter.",
11
+ },
12
+ method = FORMATTING,
13
+ filetypes = { "php" },
14
+ generator_opts = {
15
+ command = "pretty-php",
16
+ args = { "$FILENAME" },
17
+ stdin = false,
18
19
+ factory = h.formatter_factory,
20
+})
0 commit comments