File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff 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
5142PHPUnit is configured by the ``phpunit.xml.dist `` file in the root of your
5243Symfony application.
You can’t perform that action at this time.
0 commit comments