Parameter $membership of anonymous function has typehint with deprecated class Drupal\group\GroupMembership. Deprecated in group:3.2.0 and is removed from group:4.0.0. Use the static methods on \Drupal\group\Entity\GroupMembership instead.
Results are from dataset #256676 from 2024-08-17T19:58. Report is ran by the Drupal Association regularly.