[10.2] Support Drush ^12 commands

Created on 29 May 2024, 6 months ago
Updated 23 July 2024, 4 months ago

Problem/Motivation

Since:

Drush versions below 12.4.3 are incompatible with Drupal 10.2.

(as per drupal 10.2.0 release notes )

module's Drush commands could perhaps be updated according to:
https://www.drush.org/12.x/commands/

Drush 12 expects all commandfiles in the <module-name>/src/Drush/<Commands|Generators> directory. The Drush subdirectory is a new requirement.

Proposed resolution

For versions of the module compatible with Drupal ^10.2, make the necessary changes to the current drush commands:
https://git.drupalcode.org/project/rules/-/tree/8.x-3.x/src/Commands?ref...
as suggested in the documentation above.

The file drush.services.yml could maybe be removed and the composer.json updated.
Review other files that would need to be updated.

Examples of similar issues, with code examples (patches, commits or merge requests):

📌 Task
Status

Fixed

Version

4.0

Component

Rules Core

Created by

🇫🇷France dydave

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024