liip / LiipFunctionalTestBundle

Some helper classes for writing functional tests in Symfony
http://liip.ch
MIT License
641 stars 182 forks source link

Dependencies upgrade: doctrine/annotations #612

Closed Nirator78 closed 1 year ago

Nirator78 commented 1 year ago

Can you upgrade the dependencies doctrine/annotations to let's use the last version with your dependencies please.

Steps to reproduce

Here my require

"require": {
        "php": "^8.0.3",
        "ext-ctype": "*",
        "ext-iconv": "*",
        "doctrine/annotations": "^2.0",
        "doctrine/doctrine-bundle": "^2.8",
        "doctrine/doctrine-migrations-bundle": "^3.2",
        "doctrine/orm": "^2.14",
        "phpdocumentor/reflection-docblock": "^5.3",
        "phpstan/phpdoc-parser": "^1.16",
        "symfony/console": "5.4.*",
        "symfony/dotenv": "5.4.*",
        "symfony/flex": "^1.17|^2",
        "symfony/form": "5.4.*",
        "symfony/framework-bundle": "5.4.*",
        "symfony/property-access": "5.4.*",
        "symfony/property-info": "5.4.*",
        "symfony/runtime": "5.4.*",
        "symfony/security-bundle": "5.4.*",
        "symfony/serializer": "5.4.*",
        "symfony/translation": "5.4.*",
        "symfony/validator": "5.4.*",
        "symfony/web-profiler-bundle": "5.4.*",
        "symfony/yaml": "5.4.*"
    }

And the error message when i want install your library

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires liip/functional-test-bundle ^4.7 -> satisfiable by liip/functional-test-bundle[4.7.0].
    - liip/functional-test-bundle 4.7.0 requires doctrine/annotations ^1.3 -> found doctrine/annotations[v1.3.0, ..., 1.14.3] but it conflicts with your root composer.json require (^2.0).
alexislefebvre commented 1 year ago

Thanks for the report, let's try it: #613

alexislefebvre commented 1 year ago

Please try this new version that allows doctrine/annotations v2: https://github.com/liip/LiipFunctionalTestBundle/releases/tag/4.8.0

alexislefebvre commented 1 year ago

Please also try this pre-release that remove this dependency: https://github.com/liip/LiipFunctionalTestBundle/releases/tag/4.8.1-alpha1

Install it:

composer require --dev liip/functional-test-bundle:4.8.1-alpha1@dev

or if there are conflicts:

composer require --dev liip/functional-test-bundle:4.8.1-alpha1@dev --update-with-all-dependencies
Nirator78 commented 1 year ago

Good for me with the version 4.8.0. Thank you so much !