On Fri, Mar 27, 2026 at 6:05 AM Amanzhol Zhaparov <[email protected]> wrote:
> *Benefits:* > > 1. > > *Improved Visual Hierarchy:* Each logical branch starts on its own > line, making the structure clear at a glance. > 2. > > *Better IDE Integration:* When the if block is folded, the else or > elseif remains clearly visible on the next line, preserving the "map" of > the logic. > 3. > > *Consistency:* It aligns with how many developers naturally separate > distinct logical steps. > > I understand that PSR-12 aimed for vertical compactness, but with > high-resolution monitors and the heavy use of IDE folding features, the > "saved line" often comes at the cost of readability. > > I would love to hear the community's thoughts on whether the PER Coding > Style could be updated to allow this formatting as a valid alternative. > I disagree and prefer the current style. -- Woody Gilk (he/him) https://www.shadowhand.com -- You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/php-fig/CAGOJM6KVY6hofAUsqCFY5B8QMhk0P%2BeuqgX4XwyoVKN0JtgTgQ%40mail.gmail.com.
