[2.0.0-beta1] Drupal 11 compatibility

Created on 2 August 2024, about 2 months ago
Updated 12 August 2024, about 1 month ago

Problem/Motivation

Drupal 11 has been released today.

Proposed resolution

Check compatibility and update info.yml files.

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇫🇷France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

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

  • Status changed to Needs review about 1 month ago
  • Issue was unassigned.
  • Status changed to Fixed about 1 month ago
  • Status changed to Fixed about 1 month ago
Production build 0.71.5 2024