File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ wraps the original PHPUnit binary to provide additional features:
20
20
21
21
.. code-block :: terminal
22
22
23
- $ composer require --dev phpunit
23
+ $ composer require --dev symfony/ phpunit-bridge
24
24
25
25
Each test - whether it's a unit test or a functional test - is a PHP class
26
26
that should live in the ``tests/ `` directory of your application. If you follow
@@ -39,6 +39,11 @@ Symfony application.
39
39
Code coverage can be generated with the ``--coverage-* `` options, see the
40
40
help information that is shown when using ``--help `` for more information.
41
41
42
+ .. note ::
43
+
44
+ Thanks to Symfony Flex recipes aliases, you can require ``phpunit `` instead
45
+ of ``symfony/phpunit-bridge ``.
46
+
42
47
.. index ::
43
48
single: Tests; Unit tests
44
49
You can’t perform that action at this time.
0 commit comments