Skip to content

laminas/laminas-cache is specified in both require AND require-dev sections of composer.json #42

@internalsystemerror

Description

@internalsystemerror

Bug Report

Q A
Version(s) 2.1.0

Summary

Reviewing these cache packages, I noticed the titular problem which I was previously told explicitly to NOT do:

Current behavior

composer install --no-dev installs laminas/cache 3.0.x-dev and not 3.0. Whereas this may suffice for the use case here as neither the lock file nor require-dev section SHOULD be read during installation as a library, this isn't guaranteed as noted om the above issue.

How to reproduce

Check out repository locally and run composer install --no-dev.

Expected behavior

A package should appear only in require OR require-dev and not both.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions