Skip to content
Snippets Groups Projects
Commit e9a66237 authored by Stefan Bürk's avatar Stefan Bürk Committed by Benni Mack
Browse files

[BUGFIX] Raise doctrine/dbal:^2.13.8

This patch raises doctrine/dbal to 2.13.8 as minimum version,
which contains a bugfix to avoid a native php error is emitted,
stating "mysqli::real_connect(): Passing null to parameter #7".

See: https://github.com/doctrine/dbal/pull/5296

One phpstan ignore pattern slightly changed because of a
changed return type declarion of doctrine/dbal. Tackling
the corresponding error should be done in a dedicated test
after proper investigation.

Used commands:

> composer req doctrine/dbal:^2.13.8
> composer req doctrine/dbal:^2.13.8 \
  -d typo3/sysext/core --no-update
> composer req doctrine/dbal:^2.13.8 \
  -d typo3/sysext/install --no-update
> composer req doctrine/dbal:^2.13.8 \
  -d typo3/sysext/redirects --no-update
> composer req doctrine/dbal:^2.13.8 \
  -d typo3/sysext/core --no-update
> Build/Scripts/runTests.sh -s phpstanGenerateBaseline

Resolves: #97222
Releases: 11.5
Change-Id: I6c1712a792780bd2966b3977d43f767e59304bd5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74013


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent ad1c7f8b
Branches
Tags
No related merge requests found
......@@ -926,7 +926,7 @@ parameters:
path: ../../typo3/sysext/core/Classes/Database/Connection.php
-
message: "#^Strict comparison using \\=\\=\\= between int and false will always evaluate to false\\.$#"
message: "#^Strict comparison using \\=\\=\\= between int\\|string and false will always evaluate to false\\.$#"
count: 1
path: ../../typo3/sysext/core/Classes/Database/Connection.php
......
......@@ -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": "fb8947dbee37a47ddeafa5f93a244ccc",
"content-hash": "b95bd6265d2d27b08db0786c9a3dffd3",
"packages": [
{
"name": "bacon/bacon-qr-code",
......@@ -318,16 +318,16 @@
},
{
"name": "doctrine/dbal",
"version": "2.13.5",
"version": "2.13.8",
"source": {
"type": "git",
"url": "https://github.com/doctrine/dbal.git",
"reference": "d92ddb260547c2a7b650ff140f744eb6f395d8fc"
"reference": "dc9b3c3c8592c935a6e590441f9abc0f9eba335b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/d92ddb260547c2a7b650ff140f744eb6f395d8fc",
"reference": "d92ddb260547c2a7b650ff140f744eb6f395d8fc",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/dc9b3c3c8592c935a6e590441f9abc0f9eba335b",
"reference": "dc9b3c3c8592c935a6e590441f9abc0f9eba335b",
"shasum": ""
},
"require": {
......@@ -340,13 +340,13 @@
"require-dev": {
"doctrine/coding-standard": "9.0.0",
"jetbrains/phpstorm-stubs": "2021.1",
"phpstan/phpstan": "1.1.1",
"phpunit/phpunit": "^7.5.20|^8.5|9.5.10",
"phpstan/phpstan": "1.4.6",
"phpunit/phpunit": "^7.5.20|^8.5|9.5.16",
"psalm/plugin-phpunit": "0.16.1",
"squizlabs/php_codesniffer": "3.6.1",
"squizlabs/php_codesniffer": "3.6.2",
"symfony/cache": "^4.4",
"symfony/console": "^2.0.5|^3.0|^4.0|^5.0",
"vimeo/psalm": "4.12.0"
"vimeo/psalm": "4.22.0"
},
"suggest": {
"symfony/console": "For helpful console commands such as SQL execution and import of files."
......@@ -407,7 +407,7 @@
],
"support": {
"issues": "https://github.com/doctrine/dbal/issues",
"source": "https://github.com/doctrine/dbal/tree/2.13.5"
"source": "https://github.com/doctrine/dbal/tree/2.13.8"
},
"funding": [
{
......@@ -423,7 +423,7 @@
"type": "tidelift"
}
],
"time": "2021-11-11T16:27:36+00:00"
"time": "2022-03-09T15:25:46+00:00"
},
{
"name": "doctrine/deprecations",
......
......@@ -31,7 +31,7 @@
"bacon/bacon-qr-code": "^2.0.4",
"christian-riesen/base32": "^1.6",
"doctrine/annotations": "^1.11",
"doctrine/dbal": "^2.13.5",
"doctrine/dbal": "^2.13.8",
"doctrine/event-manager": "^1.0.0",
"doctrine/instantiator": "^1.4",
"doctrine/lexer": "^1.2.3",
......
......@@ -19,7 +19,7 @@
"sort-packages": true
},
"require": {
"doctrine/dbal": "^2.13.5",
"doctrine/dbal": "^2.13.8",
"guzzlehttp/promises": "^1.4.0",
"nikic/php-parser": "^4.13.2",
"symfony/finder": "^5.4",
......
......@@ -19,7 +19,7 @@
"sort-packages": true
},
"require": {
"doctrine/dbal": "^2.13.5",
"doctrine/dbal": "^2.13.8",
"psr/http-message": "^1.0",
"psr/log": "^1.0",
"symfony/console": "^5.4",
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment