driftingly / rector-laravel

Rector upgrades rules for Laravel
http://getrector.org
MIT License
469 stars 48 forks source link

Adds a set to refactor service names to interfaces/classes #192

Closed peterfox closed 4 months ago

peterfox commented 4 months ago

Changes

Why

This will make it easier for people to clean up an app with the old-style strings used and replace them with appropriate references to interfaces or if not an interface, the class itself.

Notes

The only problem I can see currently is there are no docs for these and this is a problem for #184 as well, people won't know these exist without extra documentation. I don't know if an extra markdown file that's just manually updated will do for now.

driftingly commented 4 months ago

We could call out extra features in the readme rather than a separate md file. More likely to be used/updated if in the readme.