Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md with available sets #209

Merged
merged 4 commits into from
May 7, 2024

Conversation

GeniJaho
Copy link
Collaborator

@GeniJaho GeniJaho commented Apr 25, 2024

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 #192 and #194.

@GeniJaho GeniJaho marked this pull request as ready for review April 28, 2024 16:17
Copy link
Collaborator

@peterfox peterfox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @GeniJaho, this looks good to me.

I did float a solution for this in the main Rector repo but just haven't had the time/energy. It would be good to automate it all but for now I think this displays the options nicely.

@GeniJaho GeniJaho merged commit ea914dc into driftingly:main May 7, 2024
5 checks passed
@GeniJaho
Copy link
Collaborator Author

GeniJaho commented May 7, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants