Skip to content

Commit f91ac32

Browse files
committed
document the usage of SYMFONY_PHPUNIT_REMOVE in the phpunit.xml.dist
1 parent 3fe1b2a commit f91ac32

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

components/phpunit_bridge.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,9 @@ The script writes the modified PHPUnit it builds in a directory that can be
447447
configured by the ``SYMFONY_PHPUNIT_DIR`` env var, or in the same directory as
448448
the ``simple-phpunit`` if it is not provided.
449449

450+
It's also possible to define the environment variable in the
451+
``phpunit.xml.dist`` file.
452+
450453
If you have installed the bridge through Composer, you can run it by calling e.g.:
451454

452455
.. code-block:: bash
@@ -458,11 +461,16 @@ If you have installed the bridge through Composer, you can run it by calling e.g
458461
Set the ``SYMFONY_PHPUNIT_VERSION`` env var to e.g. ``5.5`` to change the
459462
base version of PHPUnit to ``5.5`` instead of the default ``5.3``.
460463

464+
It's also possible to define the environment variable in the
465+
``phpunit.xml.dist`` file.
466+
461467
.. tip::
462468

463469
If you still need to use ``prophecy`` (but not ``symfony/yaml``),
464470
then set the ``SYMFONY_PHPUNIT_REMOVE`` env var to ``symfony/yaml``.
465471

472+
It's also possible to set this variable in the ``phpunit.xml.dist`` file.
473+
466474
Code coverage listener
467475
----------------------
468476

0 commit comments

Comments
 (0)