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
{{ message }}
Repository navigation
Make "NewlineAfterStatementRector" and "NewlineBetweenClassLikeStmtsRector" optional #9917
In case the full class changes, the php-parser sometimes up messes up spacing between class elements.
Same applies for some class method changes and inner body.
That's why we have these rules out of the box. It's a no brainer.
I'm revisiting one rule, as way too opinionated and not really hepful code-flow-wise: rectorphp/rector-src#8975
Indeed it better fits a coding standard rule. Thanks for feedback 👍
Activity
TomasVotruba commentedon Oct 6, 2026
In case the full class changes, the php-parser sometimes up messes up spacing between class elements.
Same applies for some class method changes and inner body.
That's why we have these rules out of the box. It's a no brainer.
TomasVotruba commentedon Nov 17, 2026
I'm revisiting one rule, as way too opinionated and not really hepful code-flow-wise: rectorphp/rector-src#8975
Indeed it better fits a coding standard rule. Thanks for feedback 👍