Skip to content

Commit 517cbc0

Browse files
committed
Document the SYMFONY_MAX_PHPUNIT_VERSION environment variable
This documentation corresponds with symfony/symfony#38305.
1 parent bd1b7f9 commit 517cbc0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/phpunit_bridge.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,10 @@ If you have installed the bridge through Composer, you can run it by calling e.g
876876
It's also possible to set ``SYMFONY_PHPUNIT_VERSION`` as a real env var
877877
(not defined in a :ref:`dotenv file <config-dot-env>`).
878878

879+
In the same way, ``SYMFONY_MAX_PHPUNIT_VERSION`` will set the maximum version
880+
of PHPUnit to be considered. This is useful when testing a framework that does
881+
not support the latest version(s) of PHPUnit.
882+
879883
.. tip::
880884

881885
If you still need to use ``prophecy`` (but not ``symfony/yaml``),

0 commit comments

Comments
 (0)