diff --git a/composer.json b/composer.json index 1baa87f..eb095cd 100644 --- a/composer.json +++ b/composer.json @@ -16,12 +16,12 @@ "require": { "open-dxp/opendxp": "*", "open-dxp/admin-ui-classic-bundle": "*", - "symfony/dotenv": "^6.4", - "symfony/runtime": "^6.4" + "symfony/dotenv": "^7.3", + "symfony/runtime": "^7.3" }, "require-dev": { - "codeception/codeception": "5.2.2", - "codeception/module-symfony": "^3.1.0", + "codeception/codeception": "^5.3.0", + "codeception/module-symfony": "^3.6.0", "wikimedia/composer-merge-plugin": "^2.1" }, "suggest": { diff --git a/config/routes.yaml b/config/routes.yaml index 959da6d..b49b6d8 100644 --- a/config/routes.yaml +++ b/config/routes.yaml @@ -3,4 +3,4 @@ _opendxp: app: resource: '../src/Controller/' - type: attribute \ No newline at end of file + type: attribute diff --git a/src/Kernel.php b/src/Kernel.php index da401bb..36730ae 100644 --- a/src/Kernel.php +++ b/src/Kernel.php @@ -15,21 +15,8 @@ namespace App; -use OpenDxp\Bundle\AdminBundle\OpenDxpAdminBundle; -use OpenDxp\HttpKernel\BundleCollection\BundleCollection; use OpenDxp\Kernel as OpenDxpKernel; class Kernel extends OpenDxpKernel { - /** - * Adds bundles to register to the bundle collection. The collection is able - * to handle priorities and environment specific bundles. - * - */ - public function registerBundlesToCollection(BundleCollection $collection): void - { - if (class_exists(OpenDxpAdminBundle::class)) { - $collection->addBundle(new OpenDxpAdminBundle(), 60); - } - } }