Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Symfony 7 #462

Closed
tacman opened this issue Oct 30, 2023 · 3 comments
Closed

Support Symfony 7 #462

tacman opened this issue Oct 30, 2023 · 3 comments
Labels

Comments

@tacman
Copy link

tacman commented Oct 30, 2023

Describe the bug

I'd like to install the extension in a Symfony 7 project. Is there a branch or tag that support it? I've looked around but couldn't find it.

To Reproduce

symfony new test-7 --version=next --php=8.2 && cd test-7
composer config minimum-stability dev
composer config prefer-stable false
composer config extra.symfony.allow-contrib true
sed -i 's/"6.4.*"/"^7.0"/' composer.json
composer update
composer req doctrine/orm:^2.16-dev doctrine/doctrine-bundle:^2.11-dev symfony/twig-bundle -w
composer require stof/doctrine-extensions-bundle:^1.8
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - stof/doctrine-extensions-bundle dev-main requires symfony/config ^5.4 || ^6.0 -> found symfony/config[v5.4.0-BETA1, ..., 5.4.x-dev, v6.0.0-BETA1, ..., 6.4.x-dev] but the package is fixed to 7.0.x-dev (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - stof/doctrine-extensions-bundle 1.x-dev is an alias of stof/doctrine-extensions-bundle dev-main and thus requires it to be installed too.
    - Root composer.json requires stof/doctrine-extensions-bundle ^1.8 -> satisfiable by stof/doctrine-extensions-bundle[v1.8.0, v1.9.0, 1.x-dev (alias of dev-main)].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
@kevinkopf
Copy link

There's already a pull request open for this: #463

@Chris53897
Copy link
Contributor

@tacman Can you please close this one, as symfony 7 is supported now.

@tacman
Copy link
Author

tacman commented Jan 25, 2024

Thanks!

@tacman tacman closed this as completed Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants