How can I run single sets from the CLI? #8684
Answered
by
mspirkov
ADoebeling
asked this question in
Q&A
-
|
I'd like to run the sets in sequence from CLI. Is there any way to do this without re-generating the rector.php config file repeatedly? In Psalm, this is possible by executing: php vendor/bin/psalm --alter --issues=MissingClosureReturnType
php vendor/bin/psalm --alter --issues=InvalidReturnType
php vendor/bin/psalm --alter --issues=InvalidNullableReturnType
...Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
mspirkov
Dec 16, 2025
Replies: 1 comment
-
|
I think this might help you: https://getrector.com/documentation/run-single-rule You can also make multiple configurations and use them like this: ./vendor/bin/rector process --dry-run --config=rector.php |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
TomasVotruba
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think this might help you: https://getrector.com/documentation/run-single-rule
You can also make multiple configurations and use them like this: