Skip to content

Commit 0da6a89

Browse files
author
Patrick PawseyVale
committed
Updates the tip explaining how to set the base phpunit version
1 parent e58b555 commit 0da6a89

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

components/phpunit_bridge.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,8 +573,12 @@ If you have installed the bridge through Composer, you can run it by calling e.g
573573
574574
.. tip::
575575

576-
Set the ``SYMFONY_PHPUNIT_VERSION`` env var to e.g. ``5.5`` to change the
577-
base version of PHPUnit to ``5.5`` instead of the default ``5.3``.
576+
Set a real env var (not in a :doc:`dotenv </components/dotenv>` file)
577+
``SYMFONY_PHPUNIT_VERSION`` to e.g. ``5.5`` to change the base version
578+
of PHPUnit to ``5.5`` instead of the default ``5.3``.
579+
580+
It's also possible to set this env var in the ``phpunit.xml.dist`` file
581+
as e.g. ``<server name="SYMFONY_PHPUNIT_VERSION" value="5.5" />``.
578582

579583
.. tip::
580584

0 commit comments

Comments
 (0)