Drush 12 compatibility

Created on 23 October 2023, about 1 year ago
Updated 26 December 2023, 11 months ago

Problem/Motivation

Drush 12 expects all commandfiles in the <module-name>/Drush/<Commands|Generators> directory. The Drush subdirectory is a new requirement. See https://www.drush.org/12.x/commands/

[error] Error: Class "Drupal\migrate_tools\Commands\MigrateToolsCommands" not found in include() (line 27 of /app/web/modules/composer/path_redirect_import/src/Commands/PathRedirectImportCommands.php) #0 /app/vendor/composer/ClassLoader.php(571): include()

Steps to reproduce

Drupal 9.5.11, Drush 12
After install, try to run any Drush command.
ex: drush cex

Proposed resolution

Fix the namespace.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇨🇦Canada Austin986

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