Skip to content

Issue #3460103 by TR: Update Drush commands for Drush 12

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.

Update Drush command class name in phpstan.neon.

Closes #3460103

Edited by Tim Rohaly

Merge request reports