Skip to content

[PHPUnitBridge] [PHPUnit Bridge] Remove the table that lists PHPUnit versions #16209

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions components/phpunit_bridge.rst
Original file line number Diff line number Diff line change
Expand Up @@ -844,18 +844,6 @@ configured by the ``SYMFONY_PHPUNIT_DIR`` env var, or in the same directory as
the ``simple-phpunit`` if it is not provided. It's also possible to set this
env var in the ``phpunit.xml.dist`` file.

By default, these are the PHPUnit versions used depending on the installed PHP versions:

===================== ===============================
Installed PHP version PHPUnit version used by default
===================== ===============================
PHP <= 5.5 PHPUnit 4.8
PHP 5.6 PHPUnit 5.7
PHP 7.0 PHPUnit 6.5
PHP 7.1 PHPUnit 7.5
PHP >= 7.2 PHPUnit 8.3
===================== ===============================

If you have installed the bridge through Composer, you can run it by calling e.g.:

.. code-block:: terminal
Expand All @@ -864,7 +852,7 @@ If you have installed the bridge through Composer, you can run it by calling e.g

.. tip::

It's possible to change the base version of PHPUnit by setting the
It's possible to change the PHPUnit version by setting the
``SYMFONY_PHPUNIT_VERSION`` env var in the ``phpunit.xml.dist`` file (e.g.
``<server name="SYMFONY_PHPUNIT_VERSION" value="5.5"/>``). This is the
preferred method as it can be committed to your version control repository.
Expand Down