Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions resources/docs/composer-based-sets.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Projects like Symfony, Doctrine, Twig or Laravel have lots of versions. Instead
use Rector\Config\RectorConfig;

return RectorConfig::configure()
->withComposerBased(doctrine: true, twig: true, symfony: true);
->withComposerBased(twig: true, doctrine: true, phpunit: true, symfony: true);
```

* Rector should look into installed `composer.json` version of `twig/twig`, `doctrine/*` and `symfony/*`
* Rector should look into installed `composer.json` version of `twig/twig`, `doctrine/*`, `phpunit/phpunit` and `symfony/*`
* then it picks all sets that are relevant to your specific installed versions
* and run those

Expand Down