laminas / laminas-dependency-plugin

Replace zendframework and zfcampus packages with their Laminas Project equivalents.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conflicts are not properly handled

boesing opened this issue · comments

Bug Report

Q A
Version(s) 2.1.0

Summary

I am actually working on laminas/laminas-servicemanager and get code issues which were fixed with laminas-code 3.3.1.
The composer.json I am working with contains:

{
    "conflict": {
        "laminas/laminas-code": "<3.4.0"
    }
}

laminas/laminas-servicemanager#64

This should block the installation of the currently installed laminas/laminas-code 3.3.0.

Current behavior

laminas/laminas-code v3.3.0 is installed even tho it is conflicting with the composer.json of the project.
zendframework/zend-code is required by a 3rd-party dependency and rewritten by this plugin.

travis details

How to reproduce

composer update --prefer-lowest

More details following.

Expected behavior

Minimum version of laminas/laminas-code would be v3.4.0 as below is conflicting.

Added the unit test needed label as I need a setup to reproduce first.

Closing this as this component should become deprecated anyways.