DrushBatchContext removed in Drush 13

Created on 7 July 2025, 28 days ago

Problem/Motivation

MigrateBatchExecutable has several @param references to \DrushBatchContext which was removed in Drush 13.

Phpstan now throws errors for code which extends MigrateBatchExecutable and uses any of the methods which accept \DrushBatchContext as a param.

Steps to reproduce

Proposed resolution

Params should probably be updated in a new major release of Migrate Tools.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

6.0

Component

Code

Created by

🇬🇧United Kingdom AaronMcHale Edinburgh, Scotland

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

Comments & Activities

Production build 0.71.5 2024