From 6475fb29ec38e5f96db3ee5201c2cbdab29ac5cd Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Thu, 28 Mar 2024 08:58:59 +0100 Subject: [PATCH] make sure we install php-interop 1 when asking for the psr factory, the 0.x versions are for the php-http factories --- src/Composer/Plugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Composer/Plugin.php b/src/Composer/Plugin.php index 32ef401..12a8faa 100644 --- a/src/Composer/Plugin.php +++ b/src/Composer/Plugin.php @@ -78,7 +78,7 @@ class Plugin implements PluginInterface, EventSubscriberInterface 'slim/psr7' => [], 'laminas/laminas-diactoros' => [], 'phalcon/cphalcon:^4' => [], - 'http-interop/http-factory-guzzle' => [], + 'http-interop/http-factory-guzzle:>=1' => [], 'http-interop/http-factory-diactoros' => [], 'http-interop/http-factory-slim' => [], 'httpsoft/http-message' => [], @@ -98,7 +98,7 @@ class Plugin implements PluginInterface, EventSubscriberInterface 'php-http/react-adapter' => 'react/event-loop', 'php-http/buzz-adapter' => 'kriswallsmith/buzz:^0.15.1', 'php-http/artax-adapter' => 'amphp/artax:^3', - 'http-interop/http-factory-guzzle' => 'guzzlehttp/psr7:^1', + 'http-interop/http-factory-guzzle:>=1' => 'guzzlehttp/psr7:^1', 'http-interop/http-factory-slim' => 'slim/slim:^3', ];