Skip to content

Commit 54e9d51

Browse files
committed
minor #14913 [Testing] [PHPUnitBridge] Docs for the new SYMFONY_PHPUNIT_REQUIRE env variable (acasademont)
This PR was merged into the 5.3-dev branch. Discussion ---------- [Testing] [PHPUnitBridge] Docs for the new SYMFONY_PHPUNIT_REQUIRE env variable Code PR: symfony/symfony#40059 Commits ------- 79a2112 Docs for the new SYMFONY_PHPUNIT_REQUIRE env variable
2 parents 33b1b89 + 79a2112 commit 54e9d51

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

components/phpunit_bridge.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -930,6 +930,18 @@ If you have installed the bridge through Composer, you can run it by calling e.g
930930
then set the ``SYMFONY_PHPUNIT_REMOVE`` env var to ``symfony/yaml``.
931931

932932
It's also possible to set this env var in the ``phpunit.xml.dist`` file.
933+
934+
.. tip::
935+
936+
It is also possible to require additional packages that will be installed along
937+
the rest of the needed PHPUnit packages using the ``SYMFONY_PHPUNIT_REQUIRE``
938+
env variable. This is specially useful for installing PHPUnit plugins without
939+
having to add them to your main ``composer.json`` file.
940+
941+
.. versionadded:: 5.3
942+
943+
The ``SYMFONY_PHPUNIT_REQUIRE`` env variable was introduced in
944+
Symfony 5.3.
933945

934946
Code Coverage Listener
935947
----------------------

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy