-
-
Notifications
You must be signed in to change notification settings - Fork 863
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
Caching edge case when there is missing symbol #4495
Comments
This bug report is missing a link to reproduction on phpstan.org. It will most likely be closed after manual review. |
Yes, sorry. I don't think it can be reproduced in sandbox with cache :( |
The result cache is invalidated when But I looked into it and decided to add the installed versions to metadata too: phpstan/phpstan-src@f11c0f0 Please test dev-master with the workflow above to see if it helps in your use case. |
Now released in 0.12.72. |
Thanks, will check it! |
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
PHPStan - PHP Static Analysis Tool 0.12.65 (not the latest, but close I guess)
When there is missing symbol, the cache is not invalidated when the symbol appears elsewhere.
Code snippet that reproduces the problem
(ain't that simple)
RequestOptions::ALLOW_REDIRECTS
somewhere in the codeAccess to undefined constant RequestOptions::ALLOW_REDIRECTS.
in the file MyClass.phpcomposer install
Expected output
Actual output
Is this expected behavior?
The text was updated successfully, but these errors were encountered: