You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #1055 Add option to specify version in add lines requires (HypeMC)
This PR was merged into the 2.x branch.
Discussion
----------
Add option to specify version in add lines requires
Currently, when requiring `symfony/panther`, Flex adds the following two lines to `phpunit.dist.xml`:
```diff
<extensions>
+ <bootstrap class="Symfony\Component\Panther\ServerExtension" />
+ <extension class="Symfony\Component\Panther\ServerExtension" />
</extensions>
```
This isn't entirely correct: the `extension` tag is used for PHPUnit <10, while `bootstrap` is used for PHPUnit >=10.
This PR adds support for specifying the required package version for each line, so only the appropriate one is added.
Recipes PR: symfony/recipes#1422
Commits
-------
3319fcf Add option to specify version in add lines requires
0 commit comments