From 0be02bd38b1948c717c187d9f1fe9fb3b59618da Mon Sep 17 00:00:00 2001
From: token <pawel.liszka00@gmail.com>
Date: Fri, 28 Jul 2023 14:50:44 +0200
Subject: [PATCH] Clean bundles.php

---
 tests/Application/config/bundles.php          |  9 +++------
 .../config/sylius/1.11/bundles.php            | 20 +------------------
 .../config/sylius/1.12/bundles.php            |  9 ---------
 3 files changed, 4 insertions(+), 34 deletions(-)

diff --git a/tests/Application/config/bundles.php b/tests/Application/config/bundles.php
index 2c74f6f6..18e508fd 100644
--- a/tests/Application/config/bundles.php
+++ b/tests/Application/config/bundles.php
@@ -1,11 +1,5 @@
 <?php
 
-/*
- * This file was created by developers working at BitBag
- * Do you need more information about us and what we do? Visit our https://bitbag.io website!
- * We are hiring developers from all over the world. Join us and start your new, exciting adventure and become part of us: https://bitbag.io/career
- */
-
 declare(strict_types=1);
 
 return [
@@ -63,4 +57,7 @@
     Nelmio\Alice\Bridge\Symfony\NelmioAliceBundle::class => ['test' => true],
     Fidry\AliceDataFixtures\Bridge\Symfony\FidryAliceDataFixturesBundle::class => ['test' => true],
     Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true],
+    Sylius\Calendar\SyliusCalendarBundle::class => ['all' => true],
+    BabDev\PagerfantaBundle\BabDevPagerfantaBundle::class => ['all' => true],
+    SyliusLabs\Polyfill\Symfony\Security\Bundle\SyliusLabsPolyfillSymfonySecurityBundle::class => ['all' => true],
 ];
diff --git a/tests/Application/config/sylius/1.11/bundles.php b/tests/Application/config/sylius/1.11/bundles.php
index 9c9733b1..b8da49fb 100644
--- a/tests/Application/config/sylius/1.11/bundles.php
+++ b/tests/Application/config/sylius/1.11/bundles.php
@@ -1,25 +1,7 @@
 <?php
 
-/*
- * This file was created by developers working at BitBag
- * Do you need more information about us and what we do? Visit our https://bitbag.io website!
- * We are hiring developers from all over the world. Join us and start your new, exciting adventure and become part of us: https://bitbag.io/career
- */
-
 declare(strict_types=1);
 
-$bundles = [
+return [
     Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle::class => ['all' => true],
 ];
-
-if (class_exists('BabDev\PagerfantaBundle\BabDevPagerfantaBundle')) {
-    $bundles[BabDev\PagerfantaBundle\BabDevPagerfantaBundle::class] = ['all' => true];
-}
-if (class_exists('SyliusLabs\Polyfill\Symfony\Security\Bundle\SyliusLabsPolyfillSymfonySecurityBundle')) {
-    $bundles[SyliusLabs\Polyfill\Symfony\Security\Bundle\SyliusLabsPolyfillSymfonySecurityBundle::class] = ['all' => true];
-}
-if (class_exists('Sylius\Calendar\SyliusCalendarBundle')) {
-    $bundles[Sylius\Calendar\SyliusCalendarBundle::class] = ['all' => true];
-}
-
-return $bundles;
diff --git a/tests/Application/config/sylius/1.12/bundles.php b/tests/Application/config/sylius/1.12/bundles.php
index 46a29947..5f922a2d 100644
--- a/tests/Application/config/sylius/1.12/bundles.php
+++ b/tests/Application/config/sylius/1.12/bundles.php
@@ -1,16 +1,7 @@
 <?php
 
-/*
- * This file was created by developers working at BitBag
- * Do you need more information about us and what we do? Visit our https://bitbag.io website!
- * We are hiring developers from all over the world. Join us and start your new, exciting adventure and become part of us: https://bitbag.io/career
- */
-
 declare(strict_types=1);
 
 return [
     League\FlysystemBundle\FlysystemBundle::class => ['all' => true],
-    Sylius\Calendar\SyliusCalendarBundle::class => ['all' => true],
-    BabDev\PagerfantaBundle\BabDevPagerfantaBundle::class => ['all' => true],
-    SyliusLabs\Polyfill\Symfony\Security\Bundle\SyliusLabsPolyfillSymfonySecurityBundle::class => ['all' => true],
 ];