You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not a "bug" or "broken" just because it doesn't match your preferred formatting style. This matches Prettier's general philosophy, which is to put it all on one line if it fits. I don't particularly care for this style either, but that's the way it is.
Edit: I take that back. It looks like this is going to become a part of the next PER standard, but will require an indent to clarify what is going on.
Activity
hackel commentedon May 21, 2026
It's not a "bug" or "broken" just because it doesn't match your preferred formatting style. This matches Prettier's general philosophy, which is to put it all on one line if it fits. I don't particularly care for this style either, but that's the way it is.
Edit: I take that back. It looks like this is going to become a part of the next PER standard, but will require an indent to clarify what is going on.
php-fig/per-coding-style#136
nicoder commentedon May 21, 2026
ah, interesting, I was trying to see what PER recommended but it was not clear to me in the case of an anonymous class.