From: Kunal Mehta Date: Fri, 18 May 2018 06:27:59 +0000 (-0700) Subject: Enable a bunch of disabled phan checks that are no longer failing X-Git-Tag: 1.34.0-rc.0~5401^2 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=9004601318c49fca6ea3ed7d2365258c17565b5c;p=lhc%2Fweb%2Fwiklou.git Enable a bunch of disabled phan checks that are no longer failing Change-Id: I471bffa8a4aa20d22e7e1830a2b01fce3e099d9e --- diff --git a/tests/phan/config.php b/tests/phan/config.php index d9ce429ba2..bd0461a695 100644 --- a/tests/phan/config.php +++ b/tests/phan/config.php @@ -317,8 +317,6 @@ return [ "PhanParamSignatureRealMismatchTooFewParameters", // approximate error count: 125 "PhanParamTooMany", - // approximate error count: 1 - "PhanParamTooManyCallable", // approximate error count: 3 "PhanParamTooManyInternal", // approximate error count: 1 @@ -329,8 +327,6 @@ return [ "PhanTypeComparisonFromArray", // approximate error count: 2 "PhanTypeComparisonToArray", - // approximate error count: 1 - "PhanTypeMagicVoidWithReturn", // approximate error count: 218 "PhanTypeMismatchArgument", // approximate error count: 13 @@ -339,8 +335,6 @@ return [ "PhanTypeMismatchDeclaredParam", // approximate error count: 111 "PhanTypeMismatchDeclaredParamNullable", - // approximate error count: 1 - "PhanTypeMismatchDefault", // approximate error count: 5 "PhanTypeMismatchDimAssignment", // approximate error count: 2 @@ -353,12 +347,8 @@ return [ "PhanTypeMismatchProperty", // approximate error count: 74 "PhanTypeMismatchReturn", - // approximate error count: 11 - "PhanTypeMissingReturn", // approximate error count: 5 "PhanTypeNonVarPassByRef", - // approximate error count: 1 - "PhanUndeclaredClassInCallable", // approximate error count: 32 "PhanUndeclaredConstant", // approximate error count: 233 @@ -367,8 +357,6 @@ return [ "PhanUndeclaredProperty", // approximate error count: 3 "PhanUndeclaredStaticMethod", - // approximate error count: 11 - "PhanUndeclaredTypeReturnType", // approximate error count: 58 "PhanUndeclaredVariableDim", ],