From 2a2f402264017a576ec40e0546a1c78a0526386d Mon Sep 17 00:00:00 2001 From: Juan Miguel Date: Tue, 28 May 2019 09:26:18 +0200 Subject: [PATCH] doctrine/doctrine-fixtures-bundle is a dev-req Update the command used to install doctrine/doctrine-fixtures-bundle to install it as a development requirement, and not an app requirement. This command should be updated in branches 3.4, 4.2 and master, but I don't know if it is done automatically. --- best_practices/business-logic.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/best_practices/business-logic.rst b/best_practices/business-logic.rst index dc49fbb2244..6f8df397bd7 100644 --- a/best_practices/business-logic.rst +++ b/best_practices/business-logic.rst @@ -309,7 +309,7 @@ the following command to install the Doctrine fixtures bundle: .. code-block:: terminal - $ composer require doctrine/doctrine-fixtures-bundle + $ composer require --dev doctrine/doctrine-fixtures-bundle Then, enable the bundle in ``AppKernel.php``, but only for the ``dev`` and ``test`` environments::