Commit 2a1ff6e
committed
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 prophecy1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
| 227 | + | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| |||
0 commit comments