File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,23 @@ command:
3131
3232 $ ./bin/phpunit
3333
34+ .. note ::
35+
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
50+
3451 PHPUnit is configured by the ``phpunit.xml.dist `` file in the root of your
3552Symfony application.
3653
You can’t perform that action at this time.
0 commit comments