Skip to content

Skip native classlike aliases#8080

Merged
orklah merged 1 commit intovimeo:masterfrom
zoonru:fix_reflection_aliases
Jun 12, 2022
Merged

Skip native classlike aliases#8080
orklah merged 1 commit intovimeo:masterfrom
zoonru:fix_reflection_aliases

Conversation

@danog
Copy link
Copy Markdown
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
Copy Markdown
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.

3 participants