-
-
Notifications
You must be signed in to change notification settings - Fork 896
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
get_debug_type
produces wrong type for anonymous classes with parent
#11562
Comments
Can investigate no earlier than Friday this week. |
Initial investigation findings:
|
PR to PHPStan opened, issue to PHP docs opened, and PR to PHP docs opened. |
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug report
The
get_debug_type()
produces currently a wrong constant string type./cc @patrickkusebauch, related with phpstan/phpstan-src#2910
phpstan-src test:
Code snippet that reproduces the problem
https://phpstan.org/r/f8fea2c3-61e7-416a-844f-24adf0e53377
Expected output
Dumped type: 'stdClass@anonymous'
The text was updated successfully, but these errors were encountered: