Skip to content

Commit ece5ef6

Browse files
committed
minor #9643 Document the usage of SYMFONY_PHPUNIT_REMOVE in the phpunit.xml.dist (lyrixx, javiereguiluz)
This PR was merged into the master branch. Discussion ---------- Document the usage of SYMFONY_PHPUNIT_REMOVE in the phpunit.xml.dist refs #9637 Commits ------- 8c9c9ee Minor reword for consistency f91ac32 document the usage of SYMFONY_PHPUNIT_REMOVE in the phpunit.xml.dist
2 parents 836e3e6 + 8c9c9ee commit ece5ef6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/phpunit_bridge.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,8 @@ 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 set this env var in the ``phpunit.xml.dist`` file.
451+
450452
If you have installed the bridge through Composer, you can run it by calling e.g.:
451453

452454
.. code-block:: bash
@@ -458,11 +460,15 @@ If you have installed the bridge through Composer, you can run it by calling e.g
458460
Set the ``SYMFONY_PHPUNIT_VERSION`` env var to e.g. ``5.5`` to change the
459461
base version of PHPUnit to ``5.5`` instead of the default ``5.3``.
460462

463+
It's also possible to set this env var in the ``phpunit.xml.dist`` file.
464+
461465
.. tip::
462466

463467
If you still need to use ``prophecy`` (but not ``symfony/yaml``),
464468
then set the ``SYMFONY_PHPUNIT_REMOVE`` env var to ``symfony/yaml``.
465469

470+
It's also possible to set this env var in the ``phpunit.xml.dist`` file.
471+
466472
Code coverage listener
467473
----------------------
468474

0 commit comments

Comments
 (0)