Skip to content

Commit 32cf6c1

Browse files
author
Patrick PawseyVale
committed
Indicates using phpunit.xml.dist is preffered
1 parent 0da6a89 commit 32cf6c1

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

components/phpunit_bridge.rst

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

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" />``.
576+
It's possible to to change the base version of PHPUnit to e.g. ``5.5``
577+
instead of the default ``5.3`` by setting the ``SYMFONY_PHPUNIT_VERSION``
578+
env var in the ``phpunit.xml.dist`` file e.g.
579+
``<server name="SYMFONY_PHPUNIT_VERSION" value="5.5" />``. This is the
580+
preferred method as it can be committed to your version control repository.
581+
582+
It's also possible set ``SYMFONY_PHPUNIT_VERSION`` as a real env var
583+
(not in a :doc:`dotenv </components/dotenv>` file).
582584

583585
.. tip::
584586

0 commit comments

Comments
 (0)