From 0bd7adac2f1adfca4862cbc1ffe823026718d5d4 Mon Sep 17 00:00:00 2001 From: Matthias Devlamynck Date: Fri, 23 Feb 2024 19:48:28 +0100 Subject: [PATCH] Handle depreciations --- TestCase/Internal/WebTestCase.php | 2 +- composer.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/TestCase/Internal/WebTestCase.php b/TestCase/Internal/WebTestCase.php index 0079bea..2a80b10 100644 --- a/TestCase/Internal/WebTestCase.php +++ b/TestCase/Internal/WebTestCase.php @@ -64,7 +64,7 @@ public function getCurrentContainer(): ContainerInterface throw new KernelNotInitializedException(); } - return self::$container; + return self::getContainer(); } /** diff --git a/composer.json b/composer.json index 5a70a60..c1dedd2 100644 --- a/composer.json +++ b/composer.json @@ -23,15 +23,15 @@ "richcongress/bundle-toolbox": "*", "richcongress/test-framework": "^0.1.", "richcongress/test-tools": "^0.1", - "symfony/browser-kit": "^3.0 || ^4.0 || ^5.0", - "symfony/console": "^4.0|^5.0" + "symfony/browser-kit": "^5.0 | ^6.0", + "symfony/console": "^5.0 | ^6.0" }, "require-dev": { "roave/security-advisories": "dev-master", - "symfony/form": "^4.0|^5.0", + "symfony/form": "^5.0 | ^6.0", "symfony/orm-pack": "^1.0", - "symfony/security-bundle": "^4.0|^5.0", - "symfony/yaml": "^5.1" + "symfony/security-bundle": "^5.0 | ^6.0", + "symfony/yaml": "^5.1 | ^6.0" }, "autoload": { "psr-4": {