phpstan-strict-rules
phpstan-strict-rules copied to clipboard
Disallow use of "!"
Hi ;)
As !
don't care about the type, it should be disallowed by phpstan/strict-rules
no?
Hi, I don't know what you mean, can you post a phpstan.org example with expected output?
This sounds unnecessarily restrictive... requiring that the operand of !
be a boolean should be more than enough.