PHP formatting with mago format works on CLI, but deletes the text in Helix
#16158
Answered
by
waddie
leaf-node
asked this question in
Troubleshooting
|
I can format the following file with <?php
echo "hello world\n";
[[language]]
name = "php"
formatter = { command = "mago", args = ["format"] }However when I run EDIT: I see no log messages in |
Answered by
waddie
Aug 7, 2026
Replies: 1 comment 1 reply
|
Include the flag [[language]]
name = "php"
formatter = { command = "mago", args = ["format", "--stdin-input"] } |
1 reply
Answer selected by
leaf-node
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Include the flag
--stdin-input: