From 4383239fa8eaab88c5b7d9116cc860c7f32c2352 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 4 Jun 2022 22:25:05 +0000 Subject: [PATCH 1/3] Update symfony packages to v3 --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index ab86041..d885e1a 100644 --- a/composer.json +++ b/composer.json @@ -41,7 +41,7 @@ "symfony/config": "^5.4 || ^6.0", "symfony/dependency-injection": "^5.4 || ^6.0", "symfony/event-dispatcher": "^5.4 || ^6.0", - "symfony/event-dispatcher-contracts": "^1.0 || ^2.0", + "symfony/event-dispatcher-contracts": "^3.0", "symfony/form": "^5.4 || ^6.0", "symfony/framework-bundle": "^5.4 || ^6.0", "symfony/http-foundation": "^5.4 || ^6.0", @@ -53,7 +53,7 @@ "symfony/routing": "^5.4 || ^6.0", "symfony/security-core": "^5.4 || ^6.0", "symfony/translation": "^5.4 || ^6.0", - "symfony/translation-contracts": "^1.0 || ^2.0", + "symfony/translation-contracts": "^3.0", "symfony/twig-bridge": "^5.4 || ^6.0", "symfony/twig-bundle": "^5.4 || ^6.0", "symfony/validator": "^5.4 || ^6.0", From 3da1d075e2e117b6dfac1b56e1b67ffd1586ccdb Mon Sep 17 00:00:00 2001 From: core23 Date: Sun, 2 Oct 2022 11:19:39 +0200 Subject: [PATCH 2/3] Allow symfony contracts ^1.0 || ^2.0 || ^3.0 --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index d885e1a..a185db4 100644 --- a/composer.json +++ b/composer.json @@ -41,7 +41,7 @@ "symfony/config": "^5.4 || ^6.0", "symfony/dependency-injection": "^5.4 || ^6.0", "symfony/event-dispatcher": "^5.4 || ^6.0", - "symfony/event-dispatcher-contracts": "^3.0", + "symfony/event-dispatcher-contracts": "^1.0 || ^2.0 || ^3.0", "symfony/form": "^5.4 || ^6.0", "symfony/framework-bundle": "^5.4 || ^6.0", "symfony/http-foundation": "^5.4 || ^6.0", @@ -53,7 +53,7 @@ "symfony/routing": "^5.4 || ^6.0", "symfony/security-core": "^5.4 || ^6.0", "symfony/translation": "^5.4 || ^6.0", - "symfony/translation-contracts": "^3.0", + "symfony/translation-contracts": "^1.0 || ^2.0 || ^3.0", "symfony/twig-bridge": "^5.4 || ^6.0", "symfony/twig-bundle": "^5.4 || ^6.0", "symfony/validator": "^5.4 || ^6.0", From 64d04323331beba9637444528b83f58c27ba7fde Mon Sep 17 00:00:00 2001 From: core23 Date: Sun, 2 Oct 2022 11:25:12 +0200 Subject: [PATCH 3/3] Fix test --- tests/EventListener/FlashListenerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/EventListener/FlashListenerTest.php b/tests/EventListener/FlashListenerTest.php index e386654..be1d0d0 100644 --- a/tests/EventListener/FlashListenerTest.php +++ b/tests/EventListener/FlashListenerTest.php @@ -44,7 +44,7 @@ protected function setUp(): void $translator = $this->createMock(TranslatorInterface::class); $translator->method('trans') - ->willReturn(static::returnArgument(0)) + ->willReturnArgument(0) ; $this->listener = new FlashListener($requestStack, $translator);