Repository navigation
Build parallel worker command line from Configuration - #9031
Merged
Merged
Conversation
TomasVotruba
force-pushed
the
worker-command-line-from-configuration
branch
from
November 23, 2026 21:38
f91d58f to
7b92327
Compare
TomasVotruba
force-pushed
the
worker-command-line-from-configuration
branch
from
November 23, 2026 21:40
7b92327 to
15f5754
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Split out of #8787 - works on main with symfony/console still in place.
WorkerCommandLineFactory::create()takes the resolvedConfigurationinstead ofInputInterface+ command class; it no longer mirrors the SymfonyInputDefinition.CommandFromReflectionFactoryis removed.ApplicationFileProcessor::run()andParallelFileProcessor::process()no longer takeInputInterface.Forwarded to workers:
Configuration:--dry-run,--clear-cache,--no-diffs,--composer-based,--php,--debug,--only(one per rule),--only-suffix,--filter(worker scopes the cache by it),--memory-limit=,--max-changes, pathsCliOptionValueResolver:--config(only when explicit),--autoload-file(space form, asbin/rector.phpreads it before the container exists),--xdebug--port,--identifier,--output-format json,--no-ansi, PHPStan Turbo-dargsNot forwarded:
--no-progress-barand--rules-summary- main process only.Shipmonk ignore: the reflection
invoke()inCommandFromReflectionFactorymade shipmonk mark every__constructas used. Without it, 574 container-instantiated constructors show as dead, since shipmonk cannot see reflection instantiation. Added oneshipmonk.deadMethodignore for::__construct, same as #8787.Checked locally: PHPStan, ECS, full PHPUnit, parallel e2e (custom config with
--config/-c, path with space, reflection resolver, unused skips), and--autoload-file/-aloaded in every worker.