Migrate Tools v6.1.x compatibility

Created on 16 August 2025, 27 days ago

Problem/Motivation

Migrate Tools recently introduced changes to the constructor of \Drupal\migrate_tools\Drush\Commands\MigrateToolsCommands which are incompatible with this module extending that class for \Drupal\migrate_orphans\Commands\MigrateOrphansCommands.

Steps to reproduce

  1. Install this module alongside Migrate Tools v6.1.1+
  2. Run drush cr
  3. See "Error: Class "Drupal\migrate_tools\Drush\MigrateToolsCommands" not found in /app/web/modules/contrib/migrate_orphans/src/Commands/MigrateOrphansCommands.php on line 25" or "Too few arguments to function Drupal\migrate_tools\Drush\Commands\MigrateToolsCommands::__construct(), 4 passed in /app/web/modules/contrib/migrate_orphans/src/Commands/MigrateOrphansCommands.php on line 55 and exactly 7 expected in Drupal\migrate_tools\Drush\Commands\MigrateToolsCommands->__construct()

Proposed resolution

  • Update Migrate Orphans to account for the changes in Migrate Tools.
  • Update Migrate Orphans Composer dependencies to account for the specific version required

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ“Œ Task
Status

Active

Version

2.0

Component

Code

Created by

๐Ÿ‡ณ๐Ÿ‡ฟNew Zealand xurizaemon ลŒtepoti, Aotearoa ๐Ÿ

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