phpstan-strict-rules icon indicating copy to clipboard operation
phpstan-strict-rules copied to clipboard

Non-boolean in xor not reported

Open janedbal opened this issue 3 years ago • 0 comments

Bug report

Only booleans are reported in or, but not in xor.

Code snippet that reproduces the problem

https://phpstan.org/r/eccd9f25-9c42-433d-9db4-a4d28fbfb278

Expected output

Boolean needed error.

janedbal avatar Jun 27 '22 11:06 janedbal