From 2e8d00604bc65874d9fc1d092c77c01dfa3bd56c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20B=C3=BCrk?= <stefan@buerk.tech>
Date: Wed, 27 Sep 2023 10:07:06 +0200
Subject: [PATCH] [TASK] Raise `doctrine/dbal:^3.7.0`
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The doctrine team realeased `doctrine/dbal 3.7.0`
recently and this change raises the dependency to that
version. Extension authors activating `doctrine/dbal`
deprecation will then get the newest `doctrine/dbal`
deprecations included in that release.

That helps in preparation for planned `doctrine/dbal 4.x`
upgrade with TYPO3 v13 to avoid stumpling into breaking
changes.

Used command(s):

> composer require --no-update \
   -d typo3/sysext/core \
   "doctrine/dbal":"^3.7.0" ; \
  composer require --no-update \
   -d typo3/sysext/install \
   "doctrine/dbal":"^3.7.0" ; \
  composer require --no-update \
   -d typo3/sysext/redirects \
   "doctrine/dbal":"^3.7.0" ; \
  composer require \
    "doctrine/dbal":"^3.7.0"

Resolves: #102042
Releases: main, 12.4
Change-Id: I34ee939fc94078df2006ad338d1e7ff1cac14a5f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81258
Reviewed-by: Nikita Hovratov <nikita.h@live.de>
Tested-by: Stefan Bürk <stefan@buerk.tech>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: Nikita Hovratov <nikita.h@live.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: core-ci <typo3@b13.com>
---
 composer.json                        |  2 +-
 composer.lock                        | 25 +++++++++++++------------
 typo3/sysext/core/composer.json      |  2 +-
 typo3/sysext/install/composer.json   |  2 +-
 typo3/sysext/redirects/composer.json |  2 +-
 5 files changed, 17 insertions(+), 16 deletions(-)

diff --git a/composer.json b/composer.json
index 6c6a305ec3d6..04e33e4be207 100644
--- a/composer.json
+++ b/composer.json
@@ -50,7 +50,7 @@
 		"bacon/bacon-qr-code": "^2.0.7",
 		"christian-riesen/base32": "^1.6",
 		"doctrine/annotations": "^1.13.3 || ^2.0",
-		"doctrine/dbal": "^3.6.2",
+		"doctrine/dbal": "^3.7.0",
 		"doctrine/event-manager": "^2.0",
 		"doctrine/instantiator": "^1.5 || ^2.0",
 		"doctrine/lexer": "^3.0",
diff --git a/composer.lock b/composer.lock
index d861e4263b45..125efd38499d 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": "259d4c45a730e8206988818f3cfecdc1",
+    "content-hash": "134f5d524a00ae901352d916b095ef54",
     "packages": [
         {
             "name": "bacon/bacon-qr-code",
@@ -340,16 +340,16 @@
         },
         {
             "name": "doctrine/dbal",
-            "version": "3.6.2",
+            "version": "3.7.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/doctrine/dbal.git",
-                "reference": "b4bd1cfbd2b916951696d82e57d054394d84864c"
+                "reference": "00d03067f07482f025d41ab55e4ba0db5eca2cdf"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/doctrine/dbal/zipball/b4bd1cfbd2b916951696d82e57d054394d84864c",
-                "reference": "b4bd1cfbd2b916951696d82e57d054394d84864c",
+                "url": "https://api.github.com/repos/doctrine/dbal/zipball/00d03067f07482f025d41ab55e4ba0db5eca2cdf",
+                "reference": "00d03067f07482f025d41ab55e4ba0db5eca2cdf",
                 "shasum": ""
             },
             "require": {
@@ -362,13 +362,14 @@
                 "psr/log": "^1|^2|^3"
             },
             "require-dev": {
-                "doctrine/coding-standard": "11.1.0",
+                "doctrine/coding-standard": "12.0.0",
                 "fig/log-test": "^1",
-                "jetbrains/phpstorm-stubs": "2022.3",
-                "phpstan/phpstan": "1.10.9",
+                "jetbrains/phpstorm-stubs": "2023.1",
+                "phpstan/phpstan": "1.10.35",
                 "phpstan/phpstan-strict-rules": "^1.5",
-                "phpunit/phpunit": "9.6.6",
+                "phpunit/phpunit": "9.6.13",
                 "psalm/plugin-phpunit": "0.18.4",
+                "slevomat/coding-standard": "8.13.1",
                 "squizlabs/php_codesniffer": "3.7.2",
                 "symfony/cache": "^5.4|^6.0",
                 "symfony/console": "^4.4|^5.4|^6.0",
@@ -432,7 +433,7 @@
             ],
             "support": {
                 "issues": "https://github.com/doctrine/dbal/issues",
-                "source": "https://github.com/doctrine/dbal/tree/3.6.2"
+                "source": "https://github.com/doctrine/dbal/tree/3.7.0"
             },
             "funding": [
                 {
@@ -448,7 +449,7 @@
                     "type": "tidelift"
                 }
             ],
-            "time": "2023-04-14T07:25:38+00:00"
+            "time": "2023-09-26T20:56:55+00:00"
         },
         {
             "name": "doctrine/deprecations",
@@ -8926,5 +8927,5 @@
     "platform-overrides": {
         "php": "8.1.1"
     },
-    "plugin-api-version": "2.3.0"
+    "plugin-api-version": "2.6.0"
 }
diff --git a/typo3/sysext/core/composer.json b/typo3/sysext/core/composer.json
index 3e5569eccb81..3878d27fac81 100644
--- a/typo3/sysext/core/composer.json
+++ b/typo3/sysext/core/composer.json
@@ -34,7 +34,7 @@
 		"bacon/bacon-qr-code": "^2.0.7",
 		"christian-riesen/base32": "^1.6",
 		"doctrine/annotations": "^1.13.3 || ^2.0",
-		"doctrine/dbal": "^3.6.2",
+		"doctrine/dbal": "^3.7.0",
 		"doctrine/event-manager": "^2.0",
 		"doctrine/lexer": "^3.0",
 		"egulias/email-validator": "^4.0",
diff --git a/typo3/sysext/install/composer.json b/typo3/sysext/install/composer.json
index 045bc39aad85..64ee33102faa 100644
--- a/typo3/sysext/install/composer.json
+++ b/typo3/sysext/install/composer.json
@@ -19,7 +19,7 @@
 		"sort-packages": true
 	},
 	"require": {
-		"doctrine/dbal": "^3.6.2",
+		"doctrine/dbal": "^3.7.0",
 		"guzzlehttp/promises": "^1.5.2 || ^2.0",
 		"nikic/php-parser": "^4.15.4",
 		"symfony/finder": "^6.2",
diff --git a/typo3/sysext/redirects/composer.json b/typo3/sysext/redirects/composer.json
index 608417cadba5..3d5d57ac4297 100644
--- a/typo3/sysext/redirects/composer.json
+++ b/typo3/sysext/redirects/composer.json
@@ -19,7 +19,7 @@
 		"sort-packages": true
 	},
 	"require": {
-		"doctrine/dbal": "^3.6.2",
+		"doctrine/dbal": "^3.7.0",
 		"psr/http-message": "^1.1 || ^2.0",
 		"psr/log": "^2.0 || ^3.0",
 		"symfony/console": "^6.2",
-- 
GitLab