From 9a8114b1c7a3e12b53728729ae9a75cce8206b72 Mon Sep 17 00:00:00 2001 From: Mathieu Ducrot Date: Tue, 6 Feb 2024 10:51:42 +0100 Subject: [PATCH] Adjust dependencies to allow `doctrine/orm` ^v3.0 --- CHANGELOG.md | 16 ++++++++-------- composer.json | 8 +++++--- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 888a010..7dc9b76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,25 +1,25 @@ CHANGELOG for 1.x =================== -## v1.0.4 - (2024-01-22) - +## v1.0.5 - (2024-02-06) ### Added +- Allow `doctrine/orm` ^v3.0 + +### Changed +- Moved `phpmetrics/phpmetrics` as suggested vendor package becasue it's not on the qualimetry calls command and also because it requires use to do a +downgrade of `nikic/php-parser` from 5.0 to 4.18 on default symfony-docker install which is needed by the `symfony/maker-bundle` +## v1.0.4 - (2024-01-22) +### Added - `composer.json` : Allow using dama/doctrine-test-bundle version ^6.7 to reduce the need of updating doctrine/dbal ## v1.0.3 - (2024-01-22) - ### Added - - `AbstractWebTestCase::loadFixtureFiles` : Add shortcut function to load fixture files ## v1.0.2 - (2024-01-08) - ### Added - - `AbstractWebTestCase::assertArrayContainsValues` : Test if an array contains exactly all values of an array of values, no matter there order ## v1.0.1 - (2024-01-04) - ### Fix - - Fix passing format 1G to phpstan memory-limit option diff --git a/composer.json b/composer.json index 3161870..f269690 100644 --- a/composer.json +++ b/composer.json @@ -13,10 +13,9 @@ ], "require": { "php": "^8.1", - "dama/doctrine-test-bundle": "^6.7|^7.1", - "doctrine/orm": "^2.13", + "dama/doctrine-test-bundle": "^6.7|^7.1|^8.0", + "doctrine/orm": "^2.13|^3.0", "liip/test-fixtures-bundle": "^2.4", - "phpmetrics/phpmetrics": "^2.8", "phpstan/phpstan-doctrine": "^1.3", "phpstan/phpstan-symfony": "^1.2", "sebastian/phpcpd": "^6.0", @@ -24,6 +23,9 @@ "symfony/framework-bundle": "^5.4|^6.2", "symfony/validator": "^5.4|^6.2" }, + "suggest": { + "phpmetrics/phpmetrics": "Build static analysis from the php in src with make metrics command. Require to have nikic/php-parser ^4.18 to run." + }, "autoload": { "psr-4": { "Smart\\StandardBundle\\": "src/"