feature #40059 [PhpUnitBridge] Add SYMFONY_PHPUNIT_REQUIRE env variable (acasademont)
feature #40059 [PhpUnitBridge] Add SYMFONY_PHPUNIT_REQUIRE env variable (acasademont)

This PR was merged into the 5.3-dev branch.

Discussion
----------

[PhpUnitBridge] Add SYMFONY_PHPUNIT_REQUIRE env variable

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Tickets       | Fix #39387
| License       | MIT
| Doc PR        | https://github.com/symfony/symfony-docs/pull/14913

As discussed on #39387, this PR adds a new `SYMFONY_PHPUNIT_REQUIRE` env variable to add packages to the phpunit bridge installation. This is useful for adding phpunit plugins (ie: https://github.com/phpspec/prophecy-phpunit) without having to add them directly to the main app composer.json.

On my `phpunit.xml.dist` file I can now add

```xml
<server name="SYMFONY_PHPUNIT_REQUIRE" value="phpspec/prophecy-phpunit"/>
```

And the `phpspec/prophecy-phpunit` will be installed along the rest of the phpunit packages

Commits
-------

94e1d877eb Add SYMFONY_PHPUNIT_REQUIRE env variable Fixes #39387

derrabus/symfony,nicolas-grekas/symfony,derrabus/symfony,sgehrig/symfony,tucksaun/symfony,sgehrig/symfony,Slamdunk/symfony,damienalexandre/symfony,paradajozsef/symfony,Tobion/symfony,mpdude/symfony,ogizanagi/symfony,Nyholm/symfony,xabbuh/symfony,Nyholm/symfony,damienalexandre/symfony,hhamon/symfony,ogizanagi/symfony,HeahDude/symfony,phramz/symfony,stof/symfony,damienalexandre/symfony,hhamon/symfony,symfony/symfony,tucksaun/symfony,OskarStark/symfony,damienalexandre/symfony,mpdude/symfony,mpdude/symfony,nicolas-grekas/symfony,Tobion/symfony,sgehrig/symfony,HeahDude/symfony,Slamdunk/symfony,phramz/symfony,Slamdunk/symfony,symfony/symfony,ro0NL/symfony,nicolas-grekas/symfony,OskarStark/symfony,HeahDude/symfony,curry684/symfony,d-ph/symfony,stof/symfony,ro0NL/symfony,phramz/symfony,Tobion/symfony,ogizanagi/symfony,paradajozsef/symfony,paradajozsef/symfony,symfony/symfony,oleg-andreyev/symfony,OskarStark/symfony,mpdude/symfony,paradajozsef/symfony,HeahDude/symfony,stof/symfony,MatTheCat/symfony,hhamon/symfony,nicolas-grekas/symfony,symfony/symfony,Nyholm/symfony,OskarStark/symfony,curry684/symfony,tucksaun/symfony,d-ph/symfony,curry684/symfony,phramz/symfony,d-ph/symfony,oleg-andreyev/symfony,MatTheCat/symfony,oleg-andreyev/symfony,sgehrig/symfony,ro0NL/symfony,Slamdunk/symfony,MatTheCat/symfony,xabbuh/symfony,xabbuh/symfony,MatTheCat/symfony,derrabus/symfony,stof/symfony,hhamon/symfony,Nyholm/symfony,xabbuh/symfony,ro0NL/symfony,curry684/symfony,ogizanagi/symfony,Tobion/symfony,tucksaun/symfony,oleg-andreyev/symfony,d-ph/symfony,derrabus/symfony