Skip to content

Allow guzzlehttp/psr7 ^3.0 and drop abandoned http-interop/http-factory-guzzle - #214

Open
RobertoNegro wants to merge 1 commit into
geocoder-php:masterfrom
RobertoNegro:master
Open

RobertoNegro wants to merge 1 commit into
geocoder-php:masterfrom
RobertoNegro:master

Conversation

@RobertoNegro

Copy link
Copy Markdown

Why

http-interop/http-factory-guzzle is abandoned and pins guzzlehttp/psr7 to ^1.7 || ^2.0.
That single constraint blocks the whole downstream chain from psr7 ^3.0 and therefore from guzzlehttp/guzzle ^8.0, which requires psr7 ^3.4.

The package does not need it: no class in src/ references http-interop directly since 2019. The PSR-17 factory is resolved at runtime via php-http/discovery, and guzzlehttp/psr7 itself provides psr/http-factory-implementation, so discovery keeps working with the interop adapter gone.

Test evidence

Full suite (vendor/bin/pest: 41 tests, 91 assertions) on a clean install without http-interop installed:

  • psr7 3.5.0 + guzzle 8.5.2 → ✅ 41 passed, composer audit clean
  • psr7 2.13.4 + guzzle 7.16.3 → ✅ 41 passed (no regression for v2 users)

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.

1 participant