Skip to content

Fatal error in drush core:requirements command (Drupal 11.2) #6289

@holo96

Description

@holo96

Describe the bug
Drupal 11.2 converts requirements severity to enums.
Here is change record: https://www.drupal.org/node/3410939
Error TypeError: Cannot access offset of type Drupal\Core\Extension\Requirement\RequirementSeverity on array in Drush\Commands\core\DrupalCommands->requirements() (line 116 ... src/Commands/core/DrupalCommands.php) is received

To Reproduce

  1. Upgrade Drupal to 11.2
  2. execute drush rq

System Configuration

Q A
Drush version? 13.6
Drupal version? 11.2
PHP version 8.4
OS? Linux

Additional information
Drupal 11.2 is just around the corner
I guess we should fix this until then

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions