From c60061e4112885e6f3842924e6ab2ce95af95082 Mon Sep 17 00:00:00 2001
From: David Beniamine <david.beniamine@tetras-libre.fr>
Date: Tue, 7 Jun 2022 12:59:59 +0200
Subject: [PATCH] Install fixture in production mode

Fix tuleap-266
---
 composer.json      | 2 +-
 config/bundles.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/composer.json b/composer.json
index 74db1d7..5587610 100644
--- a/composer.json
+++ b/composer.json
@@ -56,12 +56,12 @@
         "symfonycasts/verify-email-bundle": "^1.6",
         "twig/extra-bundle": "^2.12|^3.0",
         "twig/intl-extra": "^3.3",
+        "doctrine/doctrine-fixtures-bundle": "^3.4",
         "twig/twig": "^2.12|^3.0"
     },
     "require-dev": {
         "ext-dom": "*",
         "dama/doctrine-test-bundle": "^6.7",
-        "doctrine/doctrine-fixtures-bundle": "^3.4",
         "phpstan/extension-installer": "^1.1",
         "phpstan/phpstan": "^1.3",
         "phpstan/phpstan-doctrine": "^1.0",
diff --git a/config/bundles.php b/config/bundles.php
index 80e9d8e..7d0ff74 100644
--- a/config/bundles.php
+++ b/config/bundles.php
@@ -16,7 +16,7 @@ return [
     Gregwar\CaptchaBundle\GregwarCaptchaBundle::class => ['all' => true],
     Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true],
     DAMA\DoctrineTestBundle\DAMADoctrineTestBundle::class => ['test' => true],
-    Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
+    Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['all' => true],
     SymfonyCasts\Bundle\ResetPassword\SymfonyCastsResetPasswordBundle::class => ['all' => true],
     Knp\Bundle\PaginatorBundle\KnpPaginatorBundle::class => ['all' => true],
 ];
-- 
GitLab