From 56fdfd78005d866221836e0bae1b54511953832c Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Thu, 22 Oct 2020 12:53:42 +0200 Subject: [PATCH] Fix the composer provide rule This package does not provide the code of the psr/http-factory package (which defines interfaces). It provides psr/http-factory-implementation which is the virtual package to represent implementations of the interface. Providing the wrong package while also requiring it creates issues with Composer 2, because the solver will consider that install psr/http-factory is not necessary as it is already provided. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ca4724b..61f8506 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ } ], "provide": { - "psr/http-factory": "1.0.0" + "psr/http-factory-implementation": "1.0.0" }, "require": { "psr/http-factory": "^1.0",