Skip to content

[Psr7] Installing symfony/psr-http-message-bridge does not work on 5.4 #19018

Closed
@artyuum

Description

@artyuum

I tried installing symfony/psr-http-message-bridge on a new Symfony 5.4 project exactly how the documentation showed (composer require symfony/psr-http-message-bridge) but it didn't work and I had the following error:

Problem 1
- Root composer.json requires symfony/psr-http-message-bridge 5.4, found symfony/psr-http-message-bridge[v0.1, v0.2, v0.3, v0.4, v1.0.0, ..., v1.3.0, v2.0.0, ..., 2.3.x-dev, 6.4.x-dev, 7.0.x-dev] but it does not match the constraint.

After having a talk with @stof on Slack, the following command worked:

composer require symfony/psr-http-message-bridge:2.3

I'm not sure how to correctly word that out in a PR so I'll open an issue to point out this issue instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Needs ReviewbughasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions