diff --git a/phpBB/composer.json b/phpBB/composer.json index c75912664b..5d22124815 100644 --- a/phpBB/composer.json +++ b/phpBB/composer.json @@ -37,7 +37,7 @@ "composer/composer": "^2.0", "composer/installers": "^1.9", "composer/package-versions-deprecated": "^1.11", - "doctrine/dbal": "~3.3.6", + "doctrine/dbal": "^3.9", "google/recaptcha": "~1.1", "guzzlehttp/guzzle": " ^7.0", "marc1706/fast-image-size": "^1.1", diff --git a/phpBB/composer.lock b/phpBB/composer.lock index a353e9409b..82f7b03717 100644 --- a/phpBB/composer.lock +++ b/phpBB/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": "5ed4369e5ba29297443f428dd3001fae", + "content-hash": "39f3a7c03ba85a8c7892e5c076372eb0", "packages": [ { "name": "bantu/ini-get-wrapper", @@ -1171,38 +1171,38 @@ }, { "name": "doctrine/dbal", - "version": "3.3.8", + "version": "3.9.4", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "f873a820227bc352d023791775a01f078a30dfe1" + "reference": "ec16c82f20be1a7224e65ac67144a29199f87959" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/f873a820227bc352d023791775a01f078a30dfe1", - "reference": "f873a820227bc352d023791775a01f078a30dfe1", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/ec16c82f20be1a7224e65ac67144a29199f87959", + "reference": "ec16c82f20be1a7224e65ac67144a29199f87959", "shasum": "" }, "require": { "composer-runtime-api": "^2", "doctrine/cache": "^1.11|^2.0", "doctrine/deprecations": "^0.5.3|^1", - "doctrine/event-manager": "^1.0", - "php": "^7.3 || ^8.0", + "doctrine/event-manager": "^1|^2", + "php": "^7.4 || ^8.0", "psr/cache": "^1|^2|^3", "psr/log": "^1|^2|^3" }, "require-dev": { - "doctrine/coding-standard": "9.0.0", - "jetbrains/phpstorm-stubs": "2022.1", - "phpstan/phpstan": "1.8.2", - "phpstan/phpstan-strict-rules": "^1.3", - "phpunit/phpunit": "9.5.21", - "psalm/plugin-phpunit": "0.17.0", - "squizlabs/php_codesniffer": "3.7.1", - "symfony/cache": "^5.2|^6.0", - "symfony/console": "^2.7|^3.0|^4.0|^5.0|^6.0", - "vimeo/psalm": "4.24.0" + "doctrine/coding-standard": "12.0.0", + "fig/log-test": "^1", + "jetbrains/phpstorm-stubs": "2023.1", + "phpstan/phpstan": "2.1.1", + "phpstan/phpstan-strict-rules": "^2", + "phpunit/phpunit": "9.6.22", + "slevomat/coding-standard": "8.13.1", + "squizlabs/php_codesniffer": "3.10.2", + "symfony/cache": "^5.4|^6.0|^7.0", + "symfony/console": "^4.4|^5.4|^6.0|^7.0" }, "suggest": { "symfony/console": "For helpful console commands such as SQL execution and import of files." @@ -1262,7 +1262,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.3.8" + "source": "https://github.com/doctrine/dbal/tree/3.9.4" }, "funding": [ { @@ -1278,7 +1278,7 @@ "type": "tidelift" } ], - "time": "2022-08-05T15:35:35+00:00" + "time": "2025-01-16T08:28:55+00:00" }, { "name": "doctrine/deprecations", diff --git a/phpBB/phpbb/db/doctrine/connection_parameter_factory.php b/phpBB/phpbb/db/doctrine/connection_parameter_factory.php index 95aa0c189c..740c4b82b7 100644 --- a/phpBB/phpbb/db/doctrine/connection_parameter_factory.php +++ b/phpBB/phpbb/db/doctrine/connection_parameter_factory.php @@ -79,7 +79,7 @@ class connection_parameter_factory string|null $name = null, string|null $port = null) : array { - if ($params['driver'] === 'pdo_sqlite') + if (in_array($params['driver'], ['pdo_sqlite', 'sqlite3'])) { return self::enrich_parameters( self::build_sqlite_parameters($params, $host, $user, $password)