Pages

04 July, 2024

What rector rules do you use?

I have been playing around with Rector to ensure a more consistent codebase and there are a lot of rules to choose from. Additionally there's even a Laravel Rector package with more rules to choose from on top of that.

I am using a few, such as the early return rules and moving the property to the constructor as I think they're niceties but I'm interested in what rules the wider community uses.

All the rules seem like such good ideas but I'm not sure if it is wise to use them all, even if the application is pretty well tested. submitted by /u/TertiaryOrbit
[link] [comments]

No comments:

Post a Comment

Thanks