From 4dc578ee04f2d61980e2022323fdd19eb2910807 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20B=C3=BCrk?= <stefan@buerk.tech>
Date: Fri, 8 Jul 2022 17:44:04 +0200
Subject: [PATCH] [TASK] Raise dependency egulias/email-validator to ^3.2.1
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This patch raises egulias/email-validator to min version of
3.2.1, which incorporates latest changes. This also contains
a fix to avoid the usage of PHP8.2 deprecated methods, namely
`utf8_encode()` and `utf8_decode()`.

Used commands:

> composer req egulias/email-validator:"^3.2.1"
> composer req egulias/email-validator:"^3.2.1" \
    -d typo3/sysext/core --no-update

Resolves: #97879
Releases: main, 11.5
Change-Id: Ia985dd3171ec988201022052d036b00e765c2654
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75074
Tested-by: core-ci <typo3@b13.com>
Tested-by: Nikita Hovratov <nikita.h@live.de>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: Stefan Bürk <stefan@buerk.tech>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Nikita Hovratov <nikita.h@live.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
---
 composer.json                   |  2 +-
 composer.lock                   | 14 +++++++-------
 typo3/sysext/core/composer.json |  2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/composer.json b/composer.json
index a6d897f2430b..ee3bfb7fdf86 100644
--- a/composer.json
+++ b/composer.json
@@ -53,7 +53,7 @@
 		"doctrine/dbal": "^3.3.2",
 		"doctrine/event-manager": "^1.0.0",
 		"doctrine/lexer": "^1.2.3",
-		"egulias/email-validator": "^3.1",
+		"egulias/email-validator": "^3.2.1",
 		"enshrined/svg-sanitize": "^0.15.4",
 		"guzzlehttp/guzzle": "^7.4.5",
 		"guzzlehttp/promises": "^1.4.0",
diff --git a/composer.lock b/composer.lock
index 8d7b61aea890..b776c327d117 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "dadfc28aec96436b293f79f447216f08",
+    "content-hash": "1650feccfed5b52e5c656b26b0853d24",
     "packages": [
         {
             "name": "bacon/bacon-qr-code",
@@ -662,16 +662,16 @@
         },
         {
             "name": "egulias/email-validator",
-            "version": "3.1.2",
+            "version": "3.2.1",
             "source": {
                 "type": "git",
                 "url": "https://github.com/egulias/EmailValidator.git",
-                "reference": "ee0db30118f661fb166bcffbf5d82032df484697"
+                "reference": "f88dcf4b14af14a98ad96b14b2b317969eab6715"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/ee0db30118f661fb166bcffbf5d82032df484697",
-                "reference": "ee0db30118f661fb166bcffbf5d82032df484697",
+                "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/f88dcf4b14af14a98ad96b14b2b317969eab6715",
+                "reference": "f88dcf4b14af14a98ad96b14b2b317969eab6715",
                 "shasum": ""
             },
             "require": {
@@ -718,7 +718,7 @@
             ],
             "support": {
                 "issues": "https://github.com/egulias/EmailValidator/issues",
-                "source": "https://github.com/egulias/EmailValidator/tree/3.1.2"
+                "source": "https://github.com/egulias/EmailValidator/tree/3.2.1"
             },
             "funding": [
                 {
@@ -726,7 +726,7 @@
                     "type": "github"
                 }
             ],
-            "time": "2021-10-11T09:18:27+00:00"
+            "time": "2022-06-18T20:57:19+00:00"
         },
         {
             "name": "enshrined/svg-sanitize",
diff --git a/typo3/sysext/core/composer.json b/typo3/sysext/core/composer.json
index a2a460ec7aac..c43e87b776f5 100644
--- a/typo3/sysext/core/composer.json
+++ b/typo3/sysext/core/composer.json
@@ -36,7 +36,7 @@
 		"doctrine/dbal": "^3.3.2",
 		"doctrine/event-manager": "^1.0.0",
 		"doctrine/lexer": "^1.2.3",
-		"egulias/email-validator": "^3.1",
+		"egulias/email-validator": "^3.2.1",
 		"enshrined/svg-sanitize": "^0.15.4",
 		"guzzlehttp/guzzle": "^7.4.5",
 		"guzzlehttp/psr7": "^1.8.5 || ^2.1.2",
-- 
GitLab