Problem/Motivation

Drupal 11 has been released today.

Proposed resolution

Check compatibility and update info.yml files.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

pdureau created an issue. See original summary.

pdureau’s picture

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) ?

pdureau’s picture

Assigned: pdureau » just_like_good_vibes
Status: Active » Needs review

  • pdureau committed c1161cc9 on 2.0.x
    Issue #3465488 by pdureau: Drupal 11 compatibility
    
pdureau’s picture

Assigned: just_like_good_vibes » Unassigned
Status: Needs review » Fixed
pdureau’s picture

Status: Fixed » Closed (fixed)