I can confirm that PSR-2 places the braces on the next line for both classes and functions.
I would be very nice to have a settings php.format.braces and have the options:
- k&r (Keep braces on the same line for classes, functions and control structures)
- allman (Places braces on next line for classes, functions and control structures)
Reference: https://en.wikipedia.org/wiki/Indentation_style
If we had this feature we could get rid of PHP Intelephense.
Please, please, please :)