-
-
Notifications
You must be signed in to change notification settings - Fork 862
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
Infinite loop while scanning certain file #6933
Comments
This bug report is missing a link to reproduction on phpstan.org. It will most likely be closed after manual review. |
thx for the reproducer, I can take a look again later today. Does it also happen without --xdebug and --debug? |
Yep, it happens even with no flags as long as the vendor folder and composer.lock are both populated. |
Just had a look, it eats memory in 1.5.2 but just works in the 1.7.x branch. So fixed? |
I did actually forget about this, sorry.. But maybe it was part of some other endless recursion fixes we did recently. Is it also fixed on 1.6.x? |
This is the commit that fixed this, but at first glance it doesn't look like a proper fix. |
Can anyone volunteer to add it to integration tests in phpstan/phpstan similarly to this commit? Thanks! 5a8fb50 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Bug report
An infinite loop occurs while scanning a certain project.
Code snippet that reproduces the problem
Extract https://paste.daniil.it/phpstan.tar.xz and run composer update; .../phpstan-src/bin/phpstan analyze -vvv --xdebug --debug Module/Article/DataProvider/RegOwnerSteps.php
Expected output
No infinite loop
Did PHPStan help you today? Did it make you happy in any way?
<3
The text was updated successfully, but these errors were encountered: