Skip to content

fix code to actually be compatible with psr/http-message 2 #154

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
May 10, 2023
Merged

Conversation

dbu
Copy link
Contributor

@dbu dbu commented May 9, 2023

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

What's in this PR?

It seems the CI previously did not install with psr/http-message 2 with the return type declarations.
Fix our code to have the types.

TODO

  • figure out why the CI still does not install with psr/http-message 2.0
  • Build for PSR-7 2.0 without slim
  • Adjust the code to be compatible with PSR-7 2.0

@dbu dbu changed the title fix code to actually be compatible with psr/http-message 2 WIP: fix code to actually be compatible with psr/http-message 2 May 9, 2023
@stefangr
Copy link

Sadly it's not only the close method.

The slim/slim dev dependency requires psr/http-message ^1.

@dbu dbu force-pushed the fix-psr-2 branch 10 times, most recently from 6e23cdd to c61ce20 Compare May 10, 2023 08:13
* add test run with explicit PSR-7 2 (need to remove slim for that build
  as it does not allow PSR-7 2)
@dbu dbu changed the title WIP: fix code to actually be compatible with psr/http-message 2 fix code to actually be compatible with psr/http-message 2 May 10, 2023
@dbu dbu merged commit 890b639 into 1.x May 10, 2023
@dbu dbu deleted the fix-psr-2 branch May 10, 2023 08:17
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.

Compatibility issue since version 1.14.0
2 participants