Update Drush commands for Drush 12/13

Created on 25 July 2024, about 1 year ago
Updated 24 August 2024, about 1 year ago

Problem/Motivation

See https://www.drush.org/12.x/commands/ for details.

Steps to reproduce

When using Drush 12, the commands can not be run anymore.

Proposed resolution

Basic steps that apply to this module are:

Change namespace and class naming according to https://www.drush.org/12.x/commands/#auto-discovered-commands-psr4

Use PHP attributes for Drush command definitions, as per https://www.drush.org/12.x/commands/#attributes-or-annotations

Change class name in drush.services.yml for when class is not autoloaded.

Add use statement for Drush PHP attribute class.

Remaining tasks

Create and review MR

User interface changes

-

API changes

-

Data model changes

-

📌 Task
Status

Needs work

Version

2.0

Component

Code

Created by

🇧🇪Belgium tim-diels Belgium 🇧🇪

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