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

Fix/early return inline constructor default 7319 #2716

Conversation

kpn13
Copy link
Contributor

@kpn13 kpn13 commented Jul 26, 2022

This PR should fix rectorphp/rector#7319 by searching a "return stmt" if a "if stmt" is found.

@kpn13 kpn13 requested a review from TomasVotruba as a code owner July 26, 2022 21:21
@kpn13 kpn13 force-pushed the fix/early-return-inline-constructor-default-7319 branch from 67092c6 to 488cfa9 Compare July 27, 2022 07:29
@kpn13 kpn13 force-pushed the fix/early-return-inline-constructor-default-7319 branch from 488cfa9 to 9501fa3 Compare July 27, 2022 07:30
@TomasVotruba TomasVotruba merged commit 4ed677d into rectorphp:main Jul 27, 2022
@TomasVotruba
Copy link
Member

Thank you @kpn13

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