Switch to PER Coding Style 2.0 #3420
shyim
started this conversation in
RFC / Proposal
Replies: 1 comment
-
do we want to remove all the custom rules, too? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We use right now PSR-12 with a lot of custom rules for our code base. To simplify the code style config, we should migrate to PER Coding Style 2.0 as it is a successor to PSR-12.
Some mentionable changes to the current code-style:
Attribute is newline to property:
Empty method/function body are closed in the same line:
New line is required after start PHP tag:
Beta Was this translation helpful? Give feedback.
All reactions