X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphan%2Fconfig.php;h=17c1fb8631e220650611f4d45bd93528da6be5ef;hb=cf3deb6637cf4aab2678949e5ccec8084eec9907;hp=5259ec9ecd7296cd708b2549679f6c661f52e37b;hpb=0a5a451c1d8828844ec5731a4c97049691113db2;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phan/config.php b/tests/phan/config.php index 5259ec9ecd..17c1fb8631 100644 --- a/tests/phan/config.php +++ b/tests/phan/config.php @@ -167,7 +167,7 @@ return [ */ 'analyze_signature_compatibility' => true, - // Emit all issues. They are then supressed via + // Emit all issues. They are then suppressed via // suppress_issue_types, rather than a minimum // severity. "minimum_severity" => 0, @@ -203,7 +203,7 @@ return [ * with complicated cross-file globals that you have no * hope of fixing. */ - 'ignore_undeclared_variables_in_global_scope' => false, + 'ignore_undeclared_variables_in_global_scope' => true, /** * Set to true in order to attempt to detect dead @@ -310,14 +310,10 @@ return [ // approximate error count: 3 "PhanParamTooManyInternal", // approximate error count: 1 - "PhanRedefineFunction", - // approximate error count: 1 "PhanRedefineFunctionInternal", // approximate error count: 2 "PhanTraitParentReference", // approximate error count: 4 - "PhanTypeArraySuspicious", - // approximate error count: 4 "PhanTypeComparisonFromArray", // approximate error count: 3 "PhanTypeInvalidRightOperand", @@ -325,15 +321,13 @@ return [ "PhanTypeMismatchArgument", // approximate error count: 39 "PhanTypeMismatchArgumentInternal", - // approximate error count: 4 - "PhanTypeMismatchDefault", // approximate error count: 16 "PhanTypeMismatchForeach", // approximate error count: 63 "PhanTypeMismatchProperty", // approximate error count: 95 "PhanTypeMismatchReturn", - // approximate error count: 16 + // approximate error count: 11 "PhanTypeMissingReturn", // approximate error count: 5 "PhanTypeNonVarPassByRef", @@ -343,10 +337,8 @@ return [ "PhanUndeclaredMethod", // approximate error count: 1342 "PhanUndeclaredProperty", - // approximate error count: 9 + // approximate error count: 3 "PhanUndeclaredStaticMethod", - // approximate error count: 79 - "PhanUndeclaredVariable", ], /**