X-Git-Url: http://git.cyclocoop.org/%28?a=blobdiff_plain;f=.phan%2Fconfig.php;h=12e723d4692bb63758b1454e50e70ed3f9833b42;hb=535518220ad685c262332caa8ea94d0b6a6fe3a4;hp=2c0035ea04ef02e9be2e118226628b494ed63259;hpb=9f6f943b7a52d511100184e59b4fb77bdb8aa415;p=lhc%2Fweb%2Fwiklou.git diff --git a/.phan/config.php b/.phan/config.php index 2c0035ea04..12e723d469 100644 --- a/.phan/config.php +++ b/.phan/config.php @@ -77,82 +77,46 @@ $cfg['suppress_issue_types'] = array_merge( $cfg['suppress_issue_types'], [ "PhanAccessMethodInternal", // approximate error count: 17 "PhanCommentParamOnEmptyParamList", - // approximate error count: 30 + // approximate error count: 29 "PhanCommentParamWithoutRealParam", // approximate error count: 2 "PhanCompatibleNegativeStringOffset", - // approximate error count: 1 - "PhanEmptyFQSENInCallable", - // approximate error count: 1 - "PhanInvalidCommentForDeclarationType", - // approximate error count: 6 - "PhanNonClassMethodCall", // approximate error count: 21 "PhanParamReqAfterOpt", - // approximate error count: 27 + // approximate error count: 26 "PhanParamSignatureMismatch", // approximate error count: 4 "PhanParamSignatureMismatchInternal", - // approximate error count: 1 - "PhanParamSignatureRealMismatchTooFewParameters", - // approximate error count: 1 - "PhanParamSuspiciousOrder", // approximate error count: 127 "PhanParamTooMany", // approximate error count: 2 - "PhanParamTooManyCallable", - // approximate error count: 1 - "PhanParamTooManyInternal", - // approximate error count: 2 - "PhanPluginDuplicateExpressionBinaryOp", - // approximate error count: 2 "PhanTraitParentReference", - // approximate error count: 27 + // approximate error count: 30 "PhanTypeArraySuspicious", - // approximate error count: 33 + // approximate error count: 27 "PhanTypeArraySuspiciousNullable", // approximate error count: 26 "PhanTypeComparisonFromArray", - // approximate error count: 2 - "PhanTypeComparisonToArray", - // approximate error count: 2 - "PhanTypeExpectedObjectOrClassName", - // approximate error count: 7 - "PhanTypeExpectedObjectPropAccess", - // approximate error count: 3 - "PhanTypeInstantiateAbstract", - // approximate error count: 62 + // approximate error count: 63 "PhanTypeInvalidDimOffset", - // approximate error count: 10 - "PhanTypeInvalidExpressionArrayDestructuring", // approximate error count: 7 "PhanTypeInvalidLeftOperandOfIntegerOp", // approximate error count: 2 - "PhanTypeInvalidRightOperand", - // approximate error count: 2 "PhanTypeInvalidRightOperandOfIntegerOp", - // approximate error count: 152 + // approximate error count: 154 "PhanTypeMismatchArgument", - // approximate error count: 28 + // approximate error count: 27 "PhanTypeMismatchArgumentInternal", - // approximate error count: 1 - "PhanTypeMismatchBitwiseBinaryOperands", // approximate error count: 2 "PhanTypeMismatchDimEmpty", - // approximate error count: 29 + // approximate error count: 27 "PhanTypeMismatchDimFetch", // approximate error count: 10 "PhanTypeMismatchForeach", // approximate error count: 77 "PhanTypeMismatchProperty", - // approximate error count: 88 + // approximate error count: 84 "PhanTypeMismatchReturn", - // approximate error count: 43 - "PhanTypeMissingReturn", - // approximate error count: 1 - "PhanTypeNoAccessiblePropertiesForeach", - // approximate error count: 4 - "PhanTypeNonVarPassByRef", // approximate error count: 12 "PhanTypeObjectUnsetDeclaredProperty", // approximate error count: 9 @@ -163,18 +127,14 @@ $cfg['suppress_issue_types'] = array_merge( $cfg['suppress_issue_types'], [ "PhanUndeclaredConstant", // approximate error count: 3 "PhanUndeclaredInvokeInCallable", - // approximate error count: 242 + // approximate error count: 237 "PhanUndeclaredMethod", - // approximate error count: 847 + // approximate error count: 846 "PhanUndeclaredProperty", // approximate error count: 2 "PhanUndeclaredVariableAssignOp", // approximate error count: 55 "PhanUndeclaredVariableDim", - // approximate error count: 4 - "PhanUnextractableAnnotationElementName", - // approximate error count: 4 - "PhanUnextractableAnnotationSuffix", ] ); $cfg['ignore_undeclared_variables_in_global_scope'] = true;