driftingly / rector-laravel

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

Update README.md with available sets #209

Closed GeniJaho closed 2 months ago

GeniJaho commented 3 months ago

Added a new section in the Readme, since it's not obvious what the available Laravel sets are, what they do, and why. Descriptions and links are taken from the comments in the rules/sets themselves, but we may need more descriptive paragraphs. @driftingly @peterfox what do you think?

image

I've also added two new constants to LaravelSetList, since we have the sets but they can't be used at all without their constants:

LaravelSetList::LARAVEL_CONTAINER_STRING_TO_FULLY_QUALIFIED_NAME,
LaravelSetList::LARAVEL_IF_HELPERS

Sets were added in https://github.com/driftingly/rector-laravel/pull/192 and https://github.com/driftingly/rector-laravel/pull/194.

GeniJaho commented 2 months ago

The table in the Readme is quite bigger than I thought, will fix it soon :sweat_smile:.