From a333aa19b3210ec1da85b62c6df0436e5fd5b33b Mon Sep 17 00:00:00 2001 From: AchillesKal Date: Wed, 3 Apr 2024 19:33:59 +0300 Subject: [PATCH] Enable fixtures on production --- config/bundles.php | 4 ++-- config/packages/zenstruck_foundry.yaml | 9 ++------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/config/bundles.php b/config/bundles.php index dc9beb5..bd0ce5b 100644 --- a/config/bundles.php +++ b/config/bundles.php @@ -11,8 +11,8 @@ Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true], Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true], Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle::class => ['all' => true], - Zenstruck\Foundry\ZenstruckFoundryBundle::class => ['dev' => true, 'test' => true], - Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true], + Zenstruck\Foundry\ZenstruckFoundryBundle::class => ['all' => true], + Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['all' => true], BabDev\PagerfantaBundle\BabDevPagerfantaBundle::class => ['all' => true], Symfony\UX\StimulusBundle\StimulusBundle::class => ['all' => true], Symfony\UX\Dropzone\DropzoneBundle::class => ['all' => true], diff --git a/config/packages/zenstruck_foundry.yaml b/config/packages/zenstruck_foundry.yaml index 0657d2c..f81ab3b 100644 --- a/config/packages/zenstruck_foundry.yaml +++ b/config/packages/zenstruck_foundry.yaml @@ -1,7 +1,2 @@ -when@dev: &dev - # See full configuration: https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#full-default-bundle-configuration - zenstruck_foundry: - # Whether to auto-refresh proxies by default (https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#auto-refresh) - auto_refresh_proxies: true - -when@test: *dev +zenstruck_foundry: + auto_refresh_proxies: true