Updates: (deps): Update drupal/select2 requirement from 1.15.0 to 2.0.0 #7636
qualityChecks.yml
on: pull_request
Matrix: Project Setup
Spell Check
28s
Behat Linting
48s
Annotations
3 errors
PHPStan check (8.1):
html/profiles/contrib/social/modules/social_features/social_group/src/Plugin/Field/FieldWidget/SocialGroupSelectorWidget.php#L64
Type Drupal\Core\Session\AccountProxyInterface of property Drupal\social_group\Plugin\Field\FieldWidget\SocialGroupSelectorWidget::$currentUser is not the same as type Drupal\Core\Session\AccountInterface of overridden property Drupal\select2\Plugin\Field\FieldWidget\Select2EntityReferenceWidget::$currentUser.
|
PHPStan check (8.1):
html/profiles/contrib/social/modules/social_features/social_group/src/Plugin/Field/FieldWidget/SocialGroupSelectorWidget.php#L130
Return type mixed of method Drupal\social_group\Plugin\Field\FieldWidget\SocialGroupSelectorWidget::getOptions() is not covariant with return type array of method Drupal\select2\Plugin\Field\FieldWidget\Select2EntityReferenceWidget::getOptions().
|
PHPStan check (8.1)
Process completed with exit code 1.
|