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

Fixes bug 10980 #3057

Merged
merged 3 commits into from
May 9, 2024
Merged

Fixes bug 10980 #3057

merged 3 commits into from
May 9, 2024

Conversation

greew
Copy link
Contributor

@greew greew commented May 9, 2024

When while loop condition is a while(true), the continue exit points are never used, and shouldn't be calculated in the final result.

Fixes #phpstan/phpstan/10980

greew added 3 commits May 9, 2024 18:06
When while loop condition is a `while(true)`, the `continue` exit points
are never used, and shouldn't be calculated in the final result.
@ondrejmirtes ondrejmirtes merged commit 73521c3 into phpstan:1.11.x May 9, 2024
444 of 445 checks passed
@ondrejmirtes
Copy link
Member

Perfect, thank you! Even more awesome given this is your first contribution :) Here's to many more! 🍻

@greew
Copy link
Contributor Author

greew commented May 9, 2024

Well... I'm already sponsoring you, but might as well chip in with the code as well 😁

@greew greew deleted the bug-10980 branch May 9, 2024 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants