Skip to content

Commit

Permalink
Update phan
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeyGuyDylan committed Jan 29, 2025
1 parent 4bc99e7 commit 11f5421
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions projects/packages/my-jetpack/.phan/baseline.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,29 @@
// # Issue statistics:
// PhanTypeMismatchArgumentNullable : 60+ occurrences
// PhanTypeMismatchPropertyDefault : 15+ occurrences
// PhanTypeMismatchReturnProbablyReal : 10+ occurrences
// PhanParamTooMany : 9 occurrences
// PhanAbstractStaticMethodCallInStatic : 8 occurrences
// PhanTypeMismatchReturnProbablyReal : 8 occurrences
// PhanNoopNew : 7 occurrences
// PhanPluginDuplicateConditionalNullCoalescing : 5 occurrences
// PhanTypeMismatchReturn : 5 occurrences
// PhanPluginDuplicateConditionalNullCoalescing : 4 occurrences
// PhanTypeMismatchReturnNullable : 3 occurrences
// PhanImpossibleCondition : 2 occurrences
// PhanNonClassMethodCall : 2 occurrences
// PhanRedundantCondition : 2 occurrences
// PhanTypeMismatchArgumentProbablyReal : 2 occurrences
// PhanUndeclaredClassMethod : 2 occurrences
// PhanPluginMixedKeyNoKey : 1 occurrence
// PhanTypeMismatchArgumentNullableInternal : 1 occurrence
// PhanUndeclaredClassMethod : 1 occurrence
// PhanTypeSuspiciousNonTraversableForeach : 1 occurrence

// Currently, file_suppressions and directory_suppressions are the only supported suppressions
'file_suppressions' => [
'src/class-activitylog.php' => ['PhanTypeMismatchArgumentProbablyReal'],
'src/class-initializer.php' => ['PhanImpossibleCondition', 'PhanNoopNew', 'PhanRedundantCondition', 'PhanTypeMismatchReturn', 'PhanTypeMismatchReturnNullable', 'PhanUndeclaredClassMethod'],
'src/class-jetpack-manage.php' => ['PhanTypeMismatchArgumentProbablyReal'],
'src/class-products.php' => ['PhanNonClassMethodCall'],
'src/class-rest-products.php' => ['PhanParamTooMany', 'PhanPluginMixedKeyNoKey', 'PhanTypeMismatchReturn', 'PhanTypeMismatchReturnProbablyReal'],
'src/class-rest-products.php' => ['PhanParamTooMany', 'PhanPluginMixedKeyNoKey', 'PhanTypeMismatchReturn'],
'src/class-rest-purchases.php' => ['PhanParamTooMany', 'PhanTypeMismatchReturn', 'PhanTypeMismatchReturnProbablyReal'],
'src/class-rest-zendesk-chat.php' => ['PhanParamTooMany'],
'src/class-wpcom-products.php' => ['PhanTypeMismatchReturnProbablyReal'],
Expand Down

0 comments on commit 11f5421

Please sign in to comment.