- Issue created by @pdureau
- 🇫🇷France pdureau Paris
I have updated Drupal to 11.0, and now I have this with PHPSTAN :
Line src/Plugin/Validation/Constraint/RequiredArrayValuesConstraint.php 45 Method Drupal\ui_patterns\Plugin\Validation\Constraint\RequiredArrayValuesConstraint::getDefaultOption() has no return type specified. 45 Return type mixed of method Drupal\ui_patterns\Plugin\Validation\Constraint\RequiredArrayValuesConstraint::getDefaultOption() is not covariant with return type string|null of method Symfony\Component\Validator\Constraint::getDefaultOption(). 52 Return type mixed of method Drupal\ui_patterns\Plugin\Validation\Constraint\RequiredArrayValuesConstraint::getRequiredOptions() is not covariant with return type array of method Symfony\Component\Validator\Constraint::getRequiredOptions().
Is it normal new phpstan errors are popping when updating dependencies? If I fix them, do that mean I will introduce phpstan errors in Drupal 10.3 (the gitlab CI is till on 10.3) ?
- Assigned to just_like_good_vibes
- Status changed to Needs review
5 months ago 8:09pm 3 August 2024 - Issue was unassigned.
- Status changed to Fixed
5 months ago 7:25am 4 August 2024 - Status changed to Fixed
4 months ago 2:50pm 12 August 2024