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

Skip native classlike aliases #8080

Merged
merged 1 commit into from Jun 12, 2022
Merged

Conversation

danog
Copy link
Collaborator

@danog danog commented Jun 9, 2022

This pull request fixes reflection issues with extensions like https://github.com/jbboehr/php-psr which define class aliases.
With this pull request, native classlike aliases are simply ignored, and only the original native classlikes are loaded using reflection.

This fixes #8079 by letting Psalm fallback onto the userland polyfills, instead.

@weirdan weirdan added the release:fix The PR will be included in 'Fixes' section of the release notes label Jun 11, 2022
@orklah orklah merged commit c74b2fc into vimeo:master Jun 12, 2022
@orklah
Copy link
Collaborator

orklah commented Jun 12, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:fix The PR will be included in 'Fixes' section of the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants