Enable "PhanTypeInvalidRightOperand" phan checks
authorKunal Mehta <legoktm@member.fsf.org>
Fri, 18 May 2018 06:27:42 +0000 (23:27 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Fri, 18 May 2018 06:27:42 +0000 (23:27 -0700)
commitc381dd0a997305105cfb2375f4daf2e4c53fb1f5
treeedbaa65862458499eb3dd9e11941da5e97195968
parent633e8dfb1b81e034e817246fe554a183a7688a75
Enable "PhanTypeInvalidRightOperand" phan checks

HTMLFormField subclasses triggered false positives when phan incorrectly
thought that $this->mOptions was only a boolean.

ReplacementArray $this->data was defined as possibly being boolean, but
in reality that never happened.

Change-Id: I06bae9c9952366ff7927df37373b146d570f4a02
includes/htmlform/HTMLFormField.php
includes/libs/ReplacementArray.php
tests/phan/config.php