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
Internal error: ProphesizeDynamicReturnTypeExtension #10582
Comments
This bug report is missing a link to reproduction at phpstan.org/try. It will most likely be closed after manual review. |
Not a bug in PHPStan, but in jangregor/phpstan-prophecy. Please open a bug report there. |
I think this is a dupe of #10272 , which includes a reproducible example. At any rate, the root cause seems to be an undocumented breaking change in phpspec/prophecy which may be resolved in phpstan-prophecy: Jan0707/phpstan-prophecy#315 |
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
Hi!
I'm upgrading a Shopware project from PHP8.1 to 8.2, seems we had not run a full
composer update
for a while...I've managed to silence the phpstan issues, but this one is asking me to create a Bugreport:
Code snippet that reproduces the problem
No response
Expected output
No error?!
Sorry, I'll need more instruction and time to give you a reproduction, please give me some hints and I'll try.
Did PHPStan help you today? Did it make you happy in any way?
I'm glad to see phpstan now analyses types even more closely now, but having to sprinkle phpstan ignore in a bunch of places is not making me happy.
The text was updated successfully, but these errors were encountered: