Skip to content
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
12 changes: 12 additions & 0 deletions components/phpunit_bridge.rst
Original file line number Diff line number Diff line change
Expand Up @@ -930,6 +930,18 @@ If you have installed the bridge through Composer, you can run it by calling e.g
then set the ``SYMFONY_PHPUNIT_REMOVE`` env var to ``symfony/yaml``.

It's also possible to set this env var in the ``phpunit.xml.dist`` file.

.. tip::

It is also possible to require additional packages that will be installed along
the rest of the needed PHPUnit packages using the ``SYMFONY_PHPUNIT_REQUIRE``
env variable. This is specially useful for installing PHPUnit plugins without
having to add them to your main ``composer.json`` file.

.. versionadded:: 5.3

The ``SYMFONY_PHPUNIT_REQUIRE`` env variable was introduced in
Symfony 5.3.

Code Coverage Listener
----------------------
Expand Down