Skip to content

Commit be2e986

Browse files
authored
Define all composer based options in correct order (#2897)
1 parent fcd72e4 commit be2e986

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

resources/docs/composer-based-sets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ Projects like Symfony, Doctrine, Twig or Laravel have lots of versions. Instead
44
use Rector\Config\RectorConfig;
55

66
return RectorConfig::configure()
7-
->withComposerBased(doctrine: true, twig: true, symfony: true);
7+
->withComposerBased(twig: true, doctrine: true, phpunit: true, symfony: true);
88
```
99

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

0 commit comments

Comments
 (0)