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

Implement int-mask-of where appropriate #9603

Merged
merged 1 commit into from
Mar 22, 2022

Conversation

greg0ire
Copy link
Member

@greg0ire greg0ire commented Mar 22, 2022

With Psalm, you can specify that an integer should be a bitmask of
constants. Doing so allows to make some types more precise.

This annotation appears to be specific to Psalm.

I've been looking for places where to implement this by using rg -F ' | '

With Psalm, you can specify that an integer should be a bitmask of
constants. Doing so allows to make some types more precise.
@greg0ire greg0ire added this to the 2.12.0 milestone Mar 22, 2022
@greg0ire greg0ire merged commit 0f1c9ec into doctrine:2.12.x Mar 22, 2022
@greg0ire greg0ire deleted the int-mask-of branch March 22, 2022 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants