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

[Config] Add RectorConfigBuilder #5503

Merged
merged 14 commits into from
Jan 26, 2024
Merged

[Config] Add RectorConfigBuilder #5503

merged 14 commits into from
Jan 26, 2024

Conversation

samsonasik
Copy link
Member

No description provided.

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba it is ready for review.

@TomasVotruba
Copy link
Member

Wow, this looks amazing 🙏 I'll review and merge today

@TomasVotruba
Copy link
Member

TomasVotruba commented Jan 26, 2024

LGTM, let's test this in the wild 🚀

@TomasVotruba TomasVotruba merged commit 0afec7e into main Jan 26, 2024
40 checks passed
@TomasVotruba TomasVotruba deleted the add-rector-config-builder branch January 26, 2024 19:34
$rectorConfig->rules([DeclareStrictTypesRector::class, MoveAbstractRectorToChildrenRector::class]);

$rectorConfig->paths([
])->withRules([DeclareStrictTypesRector::class, MoveAbstractRectorToChildrenRector::class])
Copy link
Contributor

@Wirone Wirone Jan 31, 2024

Choose a reason for hiding this comment

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

My inner linter 😅

Suggested change
])->withRules([DeclareStrictTypesRector::class, MoveAbstractRectorToChildrenRector::class])
])
->withRules([DeclareStrictTypesRector::class, MoveAbstractRectorToChildrenRector::class])

But anyway, I wanted to say it's probably good idea to have such builder, but why it was merged without tests 😅?

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.

4 participants