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

Add BitwiseNot and BooleanNot operators to SimpleTypeInferer #8360

Merged
merged 3 commits into from Aug 4, 2022

Conversation

bitwise-operators
Copy link
Contributor

BitwiseNot and BooleanNot operators were missing from the SimpleTypeInferer. This PR adds them.

This should fix #8307.

Thanks to @AndrolGenhald for pointing me in the right direction.

@AndrolGenhald AndrolGenhald added the release:fix The PR will be included in 'Fixes' section of the release notes label Aug 3, 2022
@orklah
Copy link
Collaborator

orklah commented Aug 3, 2022

Wow, I can't believe how your username is fitting with this PR! I even went to check on your profile whether every previous issue you opened here was also related to bitwise operators or not 😄

@AndrolGenhald
Copy link
Collaborator

Could you add a couple of tests for these cases (probably in ConstantTest.php)? LGTM after that's done.

@bitwise-operators
Copy link
Contributor Author

Could you add a couple of tests for these cases (probably in ConstantTest.php)? LGTM after that's done.

Done. I also added tests for two other missing bitwise operators.

@orklah orklah merged commit ffc8c80 into vimeo:master Aug 4, 2022
@orklah
Copy link
Collaborator

orklah commented Aug 4, 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