Skip to content

Commit eade86b

Browse files
committed
Minor reword
1 parent e171a31 commit eade86b

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

testing.rst

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,11 @@ command:
3333
3434
.. note::
3535

36-
If your project is missing the phpunit command in the ./bin directory, Symfony
37-
may have not executed the required PhPUnitBridge recipes. This may occurs when
38-
the bundle symfony/phpunit-bridge is part of your composer.json file and your
39-
starting project contains a symfony.lock file.
40-
41-
Two options can be used to fix that problem:
42-
43-
* Remove the symfony.lock file before doing the first ``composer install``
44-
* Remove and require again the symfony/phpunit-bridge bundle:
45-
46-
.. code-block:: terminal
47-
48-
$ composer remove symfony/phpunit-bridge
49-
$ composer require --dev symfony/phpunit-bridge
36+
The ``./bin/phpunit`` command is created by :doc:`Symfony Flex </setup/flex>`
37+
when installing the ``phpunit-bridge`` package. If the command is missing, you
38+
can remove the package (``composer remove symfony/phpunit-bridge``) and install
39+
it again. Another solution is to remove the project's ``symfony.lock`` file and
40+
run ``composer install`` to force the execution of all Symfony Flex recipes.
5041

5142
PHPUnit is configured by the ``phpunit.xml.dist`` file in the root of your
5243
Symfony application.

0 commit comments

Comments
 (0)