re: A simple tip for cleaner code VIEW POST

TOP OF THREAD FULL DISCUSSION
re: function foo($bar) { //why? if (...) { ... } } //why? When I started reading, I thoug...
 

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!

code of conduct - report abuse