Enable a bunch of disabled phan checks that are no longer failing
authorKunal Mehta <legoktm@member.fsf.org>
Fri, 18 May 2018 06:27:59 +0000 (23:27 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Fri, 18 May 2018 06:27:59 +0000 (23:27 -0700)
Change-Id: I471bffa8a4aa20d22e7e1830a2b01fce3e099d9e

tests/phan/config.php

index d9ce429..bd0461a 100644 (file)
@@ -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",
        ],