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

Update version constraint for new symfony/dependency-injection #796

Open
dbitsch-no opened this issue Aug 8, 2024 · 1 comment
Open

Comments

@dbitsch-no
Copy link

dbitsch-no commented Aug 8, 2024

Hello,

when trying to require your extension I get the following error in composer:

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

  Problem 1
    - typo3/surf dev-main requires symfony/dependency-injection ^5.0 || ^6.0 -> found symfony/dependency-injection[v5.0.0, ..., v5.4.42, v6.0.0, ..., v6.4.10] but the package is fixed to v7.1.3 (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.
    - typo3/surf 3.x-dev is an alias of typo3/surf dev-main and thus requires it to be installed too.
    - Root composer.json requires typo3/surf 3.x-dev -> satisfiable by typo3/surf[3.x-dev (alias of dev-main)].

Would be great to see support for the new version of the symfony package.

Dennis

@simonschaufi
Copy link
Collaborator

simonschaufi commented Aug 27, 2024

I'm aware of the incompatibility but making Surf compatible with the latest Symfony DI is quite complicated. I'm very happy if somebody would help here.

The main Problem is that the container Trait is gone:

PHP Fatal error:  Trait "Symfony\Component\DependencyInjection\ContainerAwareTrait" not found in /home/runner/work/Surf/Surf/src/Domain/Model/Deployment.php on line 29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants