From 3e706f0dc2ad3c0a304dea778f5d4b15b9b4537c Mon Sep 17 00:00:00 2001 From: arthur Date: Thu, 29 Aug 2024 11:13:47 +0900 Subject: [PATCH] Update phan --- projects/plugins/jetpack/.phan/baseline.php | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/projects/plugins/jetpack/.phan/baseline.php b/projects/plugins/jetpack/.phan/baseline.php index 63c5c04ab2a06..117dd15b1a02a 100644 --- a/projects/plugins/jetpack/.phan/baseline.php +++ b/projects/plugins/jetpack/.phan/baseline.php @@ -22,30 +22,30 @@ // PhanTypeArraySuspiciousNullable : 60+ occurrences // PhanRedefineFunction : 50+ occurrences // PhanTypeMismatchArgumentNullable : 50+ occurrences - // PhanTypeExpectedObjectPropAccess : 45+ occurrences // PhanParamTooMany : 40+ occurrences // PhanPluginDuplicateAdjacentStatement : 40+ occurrences + // PhanTypeExpectedObjectPropAccess : 40+ occurrences // PhanTypeMismatchArgumentInternal : 40+ occurrences // PhanUndeclaredProperty : 35+ occurrences // PhanParamSignatureMismatch : 25+ occurrences - // PhanPluginSimplifyExpressionBool : 25+ occurrences // PhanTypeMismatchDefault : 25+ occurrences // PhanTypeMismatchPropertyProbablyReal : 25+ occurrences // PhanTypeMissingReturn : 25+ occurrences // PhanTypeSuspiciousNonTraversableForeach : 25+ occurrences // PhanDeprecatedProperty : 20+ occurrences + // PhanPluginSimplifyExpressionBool : 20+ occurrences // PhanTypeArraySuspicious : 20+ occurrences // PhanTypeMismatchDimFetch : 20+ occurrences // PhanPluginMixedKeyNoKey : 15+ occurrences // PhanSuspiciousMagicConstant : 15+ occurrences // PhanTypeExpectedObjectPropAccessButGotNull : 15+ occurrences - // PhanTypeMismatchArgumentNullableInternal : 15+ occurrences // PhanTypeMismatchPropertyDefault : 15+ occurrences // PhanUndeclaredMethod : 15+ occurrences // PhanPluginDuplicateExpressionAssignmentOperation : 10+ occurrences // PhanRedefineClass : 10+ occurrences // PhanRedundantConditionInLoop : 10+ occurrences // PhanTypeInvalidDimOffset : 10+ occurrences + // PhanTypeMismatchArgumentNullableInternal : 10+ occurrences // PhanTypeMismatchProperty : 10+ occurrences // PhanTypeMismatchReturnNullable : 10+ occurrences // PhanUndeclaredFunction : 10+ occurrences @@ -56,12 +56,12 @@ // PhanTypeMismatchArgumentInternalReal : 7 occurrences // PhanCommentAbstractOnInheritedMethod : 6 occurrences // PhanDeprecatedClass : 5 occurrences - // PhanImpossibleCondition : 5 occurrences // PhanNonClassMethodCall : 5 occurrences // PhanTypeArraySuspiciousNull : 5 occurrences // PhanTypeMismatchDimAssignment : 5 occurrences // PhanTypeSuspiciousStringExpression : 5 occurrences // PhanAccessMethodInternal : 4 occurrences + // PhanImpossibleCondition : 4 occurrences // PhanTypeInvalidLeftOperandOfAdd : 4 occurrences // PhanTypeInvalidLeftOperandOfBitwiseOp : 4 occurrences // PhanTypeInvalidRightOperandOfBitwiseOp : 4 occurrences @@ -71,15 +71,12 @@ // PhanImpossibleTypeComparison : 3 occurrences // PhanPluginUnreachableCode : 3 occurrences // PhanStaticPropIsStaticType : 3 occurrences - // PhanTypeConversionFromArray : 3 occurrences // PhanTypeMismatchArgumentReal : 3 occurrences // PhanTypeObjectUnsetDeclaredProperty : 3 occurrences // PhanUndeclaredMethodInCallable : 3 occurrences - // PhanCompatibleNegativeStringOffset : 2 occurrences // PhanImpossibleConditionInLoop : 2 occurrences // PhanParamTooManyCallable : 2 occurrences // PhanPluginDuplicateSwitchCaseLooseEquality : 2 occurrences - // PhanRedefineFunctionInternal : 2 occurrences // PhanStaticCallToNonStatic : 2 occurrences // PhanTypeMismatchArgumentInternalProbablyReal : 2 occurrences // PhanUndeclaredClassInCallable : 2 occurrences @@ -87,13 +84,10 @@ // PhanDeprecatedPartiallySupportedCallable : 1 occurrence // PhanEmptyFQSENInCallable : 1 occurrence // PhanEmptyForeach : 1 occurrence - // PhanInfiniteRecursion : 1 occurrence // PhanPluginDuplicateSwitchCase : 1 occurrence // PhanPluginInvalidPregRegex : 1 occurrence - // PhanPluginRedundantAssignmentInLoop : 1 occurrence // PhanPluginUseReturnValueInternalKnown : 1 occurrence - // PhanTypeComparisonFromArray : 1 occurrence - // PhanTypeInvalidRightOperandOfNumericOp : 1 occurrence + // PhanTypeConversionFromArray : 1 occurrence // PhanTypeVoidArgument : 1 occurrence // PhanUndeclaredConstant : 1 occurrence // PhanUndeclaredExtendedClass : 1 occurrence @@ -392,7 +386,7 @@ 'modules/shortcodes/vimeo.php' => ['PhanPluginDuplicateConditionalNullCoalescing', 'PhanTypeMismatchArgument'], 'modules/shortcodes/vr.php' => ['PhanPluginDuplicateConditionalNullCoalescing'], 'modules/shortcodes/wordads.php' => ['PhanNoopNew'], - 'modules/shortcodes/youtube.php' => ['PhanRedefineFunction', 'PhanTypeMismatchArgument'], + 'modules/shortcodes/youtube.php' => ['PhanRedefineFunction'], 'modules/shortlinks.php' => ['PhanPluginDuplicateExpressionAssignmentOperation', 'PhanTypeMismatchArgumentInternal', 'PhanTypeMismatchArgumentProbablyReal'], 'modules/simple-payments/simple-payments.php' => ['PhanTypeMismatchArgument', 'PhanTypeMismatchReturn'], 'modules/sitemaps/sitemap-buffer-fallback.php' => ['PhanTypeArraySuspicious'],