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

Add composer conflict with incompatible service-manager release #96

Merged

Conversation

tux-rampage
Copy link
Member

Q A
Documentation no
Bugfix yes
BC Break no
New Feature no
RFC no
QA yes

Description

As detected in #92, the autowire factory Laminas\Di\Container\ServiceManager\AutowireFactory is not compatible with the interface of laminas-service-manager Version 4.0.0 and newer.

This should be reflected in the composer dependency definition.

The autowire factory Laminas\Di\Container\ServiceManager\AutowireFactory
is not compatible with the interface of laminas-service-manager 4.0.

Signed-off-by: tux-rampage <[email protected]>
@tux-rampage tux-rampage added Bug Something isn't working Dependencies Updates and changes to dependencies labels Nov 20, 2024
@tux-rampage tux-rampage added this to the 3.15.0 milestone Nov 20, 2024
@tux-rampage tux-rampage self-assigned this Nov 20, 2024
@tux-rampage tux-rampage requested a review from Ocramius November 20, 2024 13:44
"laminas/laminas-servicemanager": "<3.13.0"
"laminas/laminas-servicemanager": "<3.13.0 || >=4.0.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, but composer.lock needs adjustment.

Also, older releases still affected :O

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True. Another option would be to add a conflict to laminas/laminas-service-manager with "laminas/laminas-di": "<4.0.0" as well.

Anyways composer may still pick two incompatible versions if the constraints are low enough.

Signed-off-by: tux-rampage <[email protected]>
@tux-rampage tux-rampage merged commit 5bbe6c8 into laminas:3.15.x Nov 25, 2024
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Dependencies Updates and changes to dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants