Skip to content

Allow "psr/http-message" v2 #150

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

Merged
merged 1 commit into from
Apr 14, 2023
Merged

Allow "psr/http-message" v2 #150

merged 1 commit into from
Apr 14, 2023

Conversation

nicolas-grekas
Copy link
Contributor

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Related tickets -
Documentation -
License MIT

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@dbu
Copy link
Contributor

dbu commented Apr 14, 2023

fixing all on the internet will take a little while i fear. we don't actually test with PSR-7 2.0 yet. when i try to force 2.0, i get:

  Problem 3
    - guzzlehttp/psr7 is locked to version 1.9.0 and an update of this package was not requested.
    - guzzlehttp/psr7 1.9.0 requires psr/http-message ~1.0 -> found psr/http-message[1.0, 1.0.1, 1.1] but it conflicts with your root composer.json require (^2.0).
  Problem 4
    - slim/slim is locked to version 3.12.4 and an update of this package was not requested.
    - slim/slim 3.12.4 requires psr/http-message ^1.0 -> found psr/http-message[1.0, 1.0.1, 1.1] but it conflicts with your root composer.json require (^2.0).
  Problem 5
    - laminas/laminas-diactoros is locked to version 2.25.1 and an update of this package was not requested.
    - laminas/laminas-diactoros 2.25.1 requires psr/http-message ^1.1 -> found psr/http-message[1.1] but it conflicts with your root composer.json require (^2.0).

however, we don't implement any of these interfaces in this repository, therefore i think it is safe enough to merge this.

@dbu dbu merged commit e7bd5f8 into php-http:1.x Apr 14, 2023
@nicolas-grekas nicolas-grekas deleted the patch-2 branch April 14, 2023 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants