Skip to content

Whip_RequirementsChecker::addRequirement() loses requirements #31

@schlessera

Description

@schlessera

The Whip_RequirementsChecker::addRequirement() method only adds requirements for a component if that component has not yet been added.

This should first compare the version requirements when dealing with duplicate components, and only keep the most strict version requirement.

Otherwise, if you add php >= 5.2 and then php >= 5.6, the 5.6 requirement is skipped because the component php was already added.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions