Skip to content

Commit 9a6b058

Browse files
committed
fixup phpunit require
1 parent 3eac413 commit 9a6b058

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

testing.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ wraps the original PHPUnit binary to provide additional features:
2020

2121
.. code-block:: terminal
2222
23-
$ composer require --dev phpunit
23+
$ composer require --dev symfony/phpunit-bridge
2424
2525
Each test - whether it's a unit test or a functional test - is a PHP class
2626
that should live in the ``tests/`` directory of your application. If you follow
@@ -39,6 +39,11 @@ Symfony application.
3939
Code coverage can be generated with the ``--coverage-*`` options, see the
4040
help information that is shown when using ``--help`` for more information.
4141

42+
.. note::
43+
44+
Thanks to Symfony Flex recipes aliases, you can require ``phpunit`` instead
45+
of ``symfony/phpunit-bridge``.
46+
4247
.. index::
4348
single: Tests; Unit tests
4449

0 commit comments

Comments
 (0)