phpstan-strict-rules
phpstan-strict-rules copied to clipboard
Wrong symbol shown for error report on `and`/`or` non-boolean parameters
https://phpstan.org/r/e3b1da08-3844-4f2a-ac58-a6514af25849
and is used, but the error message shows &&. Similar problem for or and ||.
BooleanAndConstantConditionRule and BooleanOrConstantConditionRule in phpstan/phpstan also have this problem. This is the easiest issue to contribute ;)