From ac9473e7558bc94c0b8eb1984014ce985b7685de Mon Sep 17 00:00:00 2001 From: Yassine Guedidi Date: Fri, 19 Jan 2024 21:13:39 +0100 Subject: [PATCH] Upgrade dama/doctrine-test-bundle --- app/config/config_test.yml | 6 ++++++ composer.json | 2 +- composer.lock | 31 ++++++++++++++++--------------- 3 files changed, 23 insertions(+), 16 deletions(-) diff --git a/app/config/config_test.yml b/app/config/config_test.yml index 4ea1c0a48..d3abd4319 100644 --- a/app/config/config_test.yml +++ b/app/config/config_test.yml @@ -24,6 +24,7 @@ web_profiler: doctrine: dbal: dbname_suffix: '_test' # for MySQL and PostgreSQL + use_savepoints: true orm: metadata_cache_driver: @@ -32,3 +33,8 @@ doctrine: query_cache_driver: type: service id: filesystem_cache + +dama_doctrine_test: + enable_static_connection: true + enable_static_meta_data_cache: true + enable_static_query_cache: true diff --git a/composer.json b/composer.json index b91a9947a..a7215170a 100644 --- a/composer.json +++ b/composer.json @@ -161,7 +161,7 @@ "willdurand/hateoas-bundle": "~2.1" }, "require-dev": { - "dama/doctrine-test-bundle": "^7.1", + "dama/doctrine-test-bundle": "^8.0", "doctrine/doctrine-fixtures-bundle": "~3.0", "ergebnis/composer-normalize": "^2.28", "friendsofphp/php-cs-fixer": "~3.4", diff --git a/composer.lock b/composer.lock index c9f5a14a1..3084d96a1 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": "d08e9d81de3587c6623563d02849c275", + "content-hash": "dd12e8a19d48fad49f3d1dd65835547a", "packages": [ { "name": "babdev/pagerfanta-bundle", @@ -15845,40 +15845,40 @@ }, { "name": "dama/doctrine-test-bundle", - "version": "v7.3.0", + "version": "v8.0.1", "source": { "type": "git", "url": "https://github.com/dmaicher/doctrine-test-bundle.git", - "reference": "688eea6529ea894b83deada10c83662d7804f34b" + "reference": "e382d27bc03ee04e0fd0ef95391047042792e7cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dmaicher/doctrine-test-bundle/zipball/688eea6529ea894b83deada10c83662d7804f34b", - "reference": "688eea6529ea894b83deada10c83662d7804f34b", + "url": "https://api.github.com/repos/dmaicher/doctrine-test-bundle/zipball/e382d27bc03ee04e0fd0ef95391047042792e7cc", + "reference": "e382d27bc03ee04e0fd0ef95391047042792e7cc", "shasum": "" }, "require": { - "doctrine/dbal": "^3.3", + "doctrine/dbal": "^3.3 || ^4.0", "doctrine/doctrine-bundle": "^2.2.2", "ext-json": "*", "php": "^7.3 || ^8.0", "psr/cache": "^1.0 || ^2.0 || ^3.0", - "symfony/cache": "^5.4 || ^6.0", - "symfony/framework-bundle": "^5.4 || ^6.0" + "symfony/cache": "^5.4 || ^6.3 || ^7.0", + "symfony/framework-bundle": "^5.4 || ^6.3 || ^7.0" }, "require-dev": { "behat/behat": "^3.0", - "doctrine/cache": "^1.12", + "friendsofphp/php-cs-fixer": "^3.27", "phpstan/phpstan": "^1.2", "phpunit/phpunit": "^8.0 || ^9.0 || ^10.0", - "symfony/phpunit-bridge": "^6.0", - "symfony/process": "^5.4 || ^6.0", - "symfony/yaml": "^5.4 || ^6.0" + "symfony/phpunit-bridge": "^6.3", + "symfony/process": "^5.4 || ^6.3 || ^7.0", + "symfony/yaml": "^5.4 || ^6.3 || ^7.0" }, "type": "symfony-bundle", "extra": { "branch-alias": { - "dev-master": "7.x-dev" + "dev-master": "8.x-dev" } }, "autoload": { @@ -15902,13 +15902,14 @@ "isolation", "performance", "symfony", + "testing", "tests" ], "support": { "issues": "https://github.com/dmaicher/doctrine-test-bundle/issues", - "source": "https://github.com/dmaicher/doctrine-test-bundle/tree/v7.3.0" + "source": "https://github.com/dmaicher/doctrine-test-bundle/tree/v8.0.1" }, - "time": "2023-11-27T21:29:42+00:00" + "time": "2023-12-05T16:11:29+00:00" }, { "name": "doctrine/data-fixtures",