You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But it's still wrong - there's no code standard that wants a space before a binary or, is there?
No, it's not wrong. Nearly all sniffs are opinionated in one way or another. Clearly the standard you are using is of the opinion that there should be a space as they selected and enabled this sniff.
Describe the bug
Space added before bitwise or
Code sample
Custom ruleset
Using
WordPress
https://github.com/WordPress/WordPress-Coding-StandardsTo reproduce
Steps to reproduce the behavior:
test.php
with the code sample above...phpcs test.php ...
With phpcbf it get's autofixed to
Expected behavior
No error/change.
Afaik this worked correctly before.
Versions (please complete the following information)
Please confirm:
master
branch of PHP_CodeSniffer.The text was updated successfully, but these errors were encountered: