From f488c2b388ac44c559c333266c9c97546b4b6407 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Thu, 22 Oct 2020 13:12:48 +0200 Subject: [PATCH] Fix the composer provide rules This package does not provide the code of the psr interface packages. It provides implementations of the interfaces and so should provide the virtual packages representing implementations of the interface. Providing the wrong package while also requiring it creates issues with Composer 2, because the solver will consider that installing the psr packages is not necessary as they are already provided. --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index ccc9674..ddb7e70 100644 --- a/composer.json +++ b/composer.json @@ -25,8 +25,8 @@ "mockery/mockery": "1.0" }, "provide": { - "psr/http-server-handler": "^1.0", - "psr/http-server-middleware": "^1.0" + "psr/http-server-handler-implementation": "1.0", + "psr/http-server-middleware-implementation": "1.0" }, "autoload": { "psr-4": {