Skip to content

Commit d8d96ca

Browse files
committed
feature #14286 Document the SYMFONY_MAX_PHPUNIT_VERSION environment variable (stevegrunwell)
This PR was merged into the master branch. Discussion ---------- Document the SYMFONY_MAX_PHPUNIT_VERSION environment variable This documentation corresponds with symfony/symfony#38305. Commits ------- 517cbc0 Document the SYMFONY_MAX_PHPUNIT_VERSION environment variable
2 parents 45ce5ba + 517cbc0 commit d8d96ca

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)