Skip to content

Replace deprecated Application::add() and enhance ParallelExec#1186

Open
humanik wants to merge 2 commits intoconsolidation:5.xfrom
humanik:5.x
Open

Replace deprecated Application::add() and enhance ParallelExec#1186
humanik wants to merge 2 commits intoconsolidation:5.xfrom
humanik:5.x

Conversation

@humanik
Copy link

@humanik humanik commented Feb 25, 2026

Overview

This pull request:

  • Fixes a bug
  • Adds a feature
  • Breaks backwards compatibility
  • Has tests that cover changes
  • Adds or fixes documentation

Summary

Replace deprecated Symfony Console add() method with addCommand() across all source and test files, and allow passing Process instances directly to ParallelExec::process().

Description

Commit 1: Allow passing Process instances directly to ParallelExec::process()

  • ParallelExec::process() now accepts a Process instance in addition to strings and CommandInterface objects, giving users more flexibility when configuring parallel tasks.

Commit 2: Replace deprecated Application::add() with addCommand()

  • Symfony Console deprecated Application::add() in favor of addCommand(). All usages across Application.php, Robo.php, Runner.php, and test files have been updated accordingly.

Symfony Console deprecated the add() method in favor of addCommand().
Update all usages across source and test files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant