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

Also allow class constants in hook names #54

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

anomiex
Copy link
Contributor

@anomiex anomiex commented Feb 29, 2024

Further fixes for #51.

This avoids crashing on code that does like apply_filters( self::FILTER_NAME, $value ) (versus apply_filters( FILTER_NAME, $value ) which was fixed by c69cd0b).

@kkmuffme kkmuffme merged commit 8fd59d6 into psalm:master Feb 29, 2024
5 checks passed
@kkmuffme
Copy link
Collaborator

Thanks!

@anomiex anomiex deleted the fix/class-constants-in-hook-names branch February 29, 2024 13:25
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.

2 participants