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

Fix get_debug_type produces wrong type for anonymous classes with parent #3374

Merged
merged 3 commits into from
Aug 31, 2024

Conversation

patrickkusebauch
Copy link
Contributor

Closes: phpstan/phpstan#11562

Fix poorly documented case of get_debug_type where it provides more specific output in cases where the anonymous class extends another class or implements an interface.

…arent

Fix poorly documented case of `get_debug_type` where it provides more specific output in cases where the anonymous class extends another class or implements an interface.
@patrickkusebauch
Copy link
Contributor Author

None of the failing integration/extension tests seems to be caused by this PR by my estimation.

@ondrejmirtes ondrejmirtes merged commit d528228 into phpstan:1.12.x Aug 31, 2024
488 of 499 checks passed
@ondrejmirtes
Copy link
Member

Thanks a lot!

@patrickkusebauch patrickkusebauch deleted the bugfix/11562 branch August 31, 2024 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

get_debug_type produces wrong type for anonymous classes with parent
2 participants