Replies: 1 comment 2 replies
-
|
Hello. Mago does indeed target PER-CS for formatting. Any violation of PER-CS in the formatter is considered a bug. The formatter already supports property hooks and the pipe operator. We took the initiative to define their formatting because PER-CS doesn't mention them. However, if PER-CS would recommend a different style, we will update our formatter accordingly. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
Let me state great work on the project! I was wondering if you ever considered having PERCS support in favor of PSR12.
This since it is a semantic extension on PSR12 which is frozen and wont support the later php features like |> and property hooks and such.
Beta Was this translation helpful? Give feedback.
All reactions