Skip to content

Is there a way run Rector within another application? #7581

Answered by TomasVotruba
peterfox asked this question in Q&A
Discussion options

You must be logged in to vote

There are 2 way to do this, based on your knowledge of hacking CLI apps written in Symfony.

  1. You can duplicate the whole ProcessCommand - this requirest keeping your own "fork" up-to-date and will break eventually
  2. You can use the json output formatter - easy and quick solution; I use this with the other PHP toolings to get metadata with symfony/process out of those

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by peterfox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants