Skip to content

Updates: (deps): Update drupal/select2 requirement from 1.15.0 to 2.0.0 #7636

Updates: (deps): Update drupal/select2 requirement from 1.15.0 to 2.0.0

Updates: (deps): Update drupal/select2 requirement from 1.15.0 to 2.0.0 #7636

Triggered via pull request January 10, 2025 00:17
Status Failure
Total duration 6m 23s
Artifacts

qualityChecks.yml

on: pull_request
Matrix: Project Setup
Spell Check
28s
Spell Check
Behat Linting
48s
Behat Linting
PHPCS check
27s
PHPCS check
Matrix: PHPStan check
Matrix: PHPUnit Tests
Fit to window
Zoom out
Zoom in

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.