Well this is actually according to PSR - php’s community style guide :D Control flow has same line braces, functions have next line braces.
One more thing for me to dislike PSR... I really don't like they new line rules.
But thank you for explain me!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.