eqeq
$X == $X or $X != $X is always true. (Unless the value compared is a float or double). To test if $X is not-a-number, use Double.isNaN($X).hardcoded-conditional
no-string-eqeq
assignment-comparison
$X is being ignored and will be used in the conditional test