Skip to content

Inline symplify/easy-parallel into src/Parallel - #8401

Merged
TomasVotruba merged 2 commits into
mainfrom
inline-easy-parallel
Aug 29, 2026
Merged

Inline symplify/easy-parallel into src/Parallel#8401
TomasVotruba merged 2 commits into
mainfrom
inline-easy-parallel

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

The symplify/easy-parallel package is deprecated. This inlines its classes into the Rector\Parallel namespace under src/Parallel and removes the dependency.

Changes

  • Move 12 used classes into src/Parallel (Enums, ValueObjects, ScheduleFactory, CpuCoreCountProvider, CommandFromReflectionFactory, SerializableInterface, ParallelShouldNotHappenException).
  • Rewrite all Symplify\EasyParallel\ imports to Rector\Parallel\.
  • Require the former transitive deps directly: fidry/cpu-core-counter, react/child-process.
  • Drop symplify/easy-parallel from composer.json.

Unused classes from the package (CommandLine\WorkerCommandLineFactory, EasyParallelConfig, the DI config.php) are not copied - Rector uses its own WorkerCommandLineFactory and wires services by autowiring.

Checks

  • composer check-cs - clean
  • composer phpstan (level 8) - no errors
  • vendor/bin/phpunit tests/Parallel - green
  • e2e/parallel with space end-to-end parallel run - OK

@TomasVotruba
TomasVotruba force-pushed the inline-easy-parallel branch 2 times, most recently from 4b2af71 to 93d7375 Compare August 29, 2026 08:49
The symplify/easy-parallel package is deprecated. Move its classes into
Rector\Parallel namespace under src/Parallel and drop the dependency.

The transitive deps it provided (fidry/cpu-core-counter, react/child-process)
are now required directly.

Claude-Session: https://claude.ai/code/session_01PMRRBcHZHHSXHYNMFbNAnF
@TomasVotruba
TomasVotruba merged commit 820c9da into main Aug 29, 2026
44 checks passed
@TomasVotruba
TomasVotruba deleted the inline-easy-parallel branch August 29, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants