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
minor #42073 Add no-interaction for SYMFONY_PHPUNIT_REQUIRE on prophecy (alexander-schranz)
This PR was merged into the 5.3 branch.
Discussion
----------
Add no-interaction for SYMFONY_PHPUNIT_REQUIRE on prophecy
| Q | A
| ------------- | ---
| Branch? | 5.3
| Bug fix? | no
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License | MIT
| Doc PR | symfony/symfony-docs#... <!-- required for new features -->
Add no-interaction for SYMFONY_PHPUNIT_REQUIRE on prophecy
Currently if you have for example the following configuration phpunit.xml.dist:
```xml
<server name="SYMFONY_PHPUNIT_VERSION" value="9.5" />
<server name="SYMFONY_PHPUNIT_REQUIRE" value="phpspec/prophecy-phpunit"/>
```
It will ask if you really wanted to add `phpspec/prophecy-phpunit` as requirement, or if you want to keep it as dev dependency. To avoid this question and just install the dependency as defined I would add here the no-interaction flag.
<img width="1113" alt="Bildschirmfoto 2021-07-12 um 20 27 26" src="https://user-images.githubusercontent.com/1698337/125337725-9ebc6380-e34f-11eb-8b86-200d4e757b91.png">
2 questions are currently asked when adding `phpspec/prophecy-phpunit`.
Commits
-------
3f1982dab9 Add no-interaction for SYMFONY_PHPUNIT_REQUIRE on prophecy
0 commit comments