From d28655e20812d65408231bf1ce2e59d4dba3246f Mon Sep 17 00:00:00 2001 From: Michael Erkens Date: Mon, 17 Jun 2024 22:05:32 +0200 Subject: [PATCH] Fix #10 Symfony deprecation for DependencyInjection --- DependencyInjection/TwoFactorTextExtension.php | 2 +- composer.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DependencyInjection/TwoFactorTextExtension.php b/DependencyInjection/TwoFactorTextExtension.php index ac850e6..1611271 100644 --- a/DependencyInjection/TwoFactorTextExtension.php +++ b/DependencyInjection/TwoFactorTextExtension.php @@ -6,9 +6,9 @@ use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; +use Symfony\Component\DependencyInjection\Extension\Extension; use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; use Symfony\Component\DependencyInjection\Loader; -use Symfony\Component\HttpKernel\DependencyInjection\Extension; class TwoFactorTextExtension extends Extension implements PrependExtensionInterface { diff --git a/composer.json b/composer.json index cec1dc5..9431879 100644 --- a/composer.json +++ b/composer.json @@ -13,10 +13,10 @@ ], "require": { "php": "^8.0", - "scheb/2fa-bundle": "^6.0 || ^7.0" + "scheb/2fa-bundle": "^7.3" }, "require-dev": { - "symfony/http-client": "^5.3 || ^6.0 || ^7.0" + "symfony/http-client": "^7.0" }, "autoload": { "psr-4": {