Enable "PhanUndeclaredVariable" phan check
authorKunal Mehta <legoktm@member.fsf.org>
Fri, 18 May 2018 05:35:31 +0000 (22:35 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Fri, 18 May 2018 05:43:12 +0000 (22:43 -0700)
All of the instances of it have been fixed. This would have prevented
T194899 from happening in the first place.

Change-Id: I19357ffc858022d3b89a040eafe9047f83df1c88

tests/phan/config.php

index 5ea72b2..bebdd3d 100644 (file)
@@ -371,8 +371,6 @@ return [
                "PhanUndeclaredStaticMethod",
                // approximate error count: 11
                "PhanUndeclaredTypeReturnType",
-               // approximate error count: 27
-               "PhanUndeclaredVariable",
                // approximate error count: 58
                "PhanUndeclaredVariableDim",
        ],