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

Reimplement WithConsecutiveRector (#311) #313

Merged
merged 5 commits into from
Apr 22, 2024
Merged

Conversation

f-albert
Copy link
Contributor

@f-albert f-albert commented Feb 29, 2024

#311 I tried to reimplement WithConsecutiveRector because the previous implementation is incorrect.

I think i need to refactor the code.
It's my first time using phpparser and contributing on github. I am open to suggestions for improvements. :)

@samsonasik
Copy link
Member

could you run:

vendor/bin/rector && composer fix-cs

to make CI green? Thank you.

@TomasVotruba
Copy link
Member

Thanks for the proposal. It's quite difficult to review the match to switch change. We actully promote newer PHP and PHPUnit 10 is already on PHP 8+, so match is a valid option.

Could you keep the match and only change the rest? That way I'll see, what you're trying to change and why.

Thanks

@f-albert
Copy link
Contributor Author

@TomasVotruba When can I expect a review?

@TomasVotruba
Copy link
Member

Thanks for reviews @samsonasik 👍

Let's give this a go 👏

@TomasVotruba TomasVotruba merged commit b9cff12 into rectorphp:main Apr 22, 2024
5 checks passed
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

4 participants