Skip to content

Commit 8304e33

Browse files
authored
Fix the composer provide rule
This package does not provide the code of the psr/http-server-handler package (which defines interfaces). It provides psr/http-server-handler-implementation which is the virtual package representing 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-server-handler is not necessary as it is already provided.
1 parent 6d8b90d commit 8304e33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"nyholm/psr7": "1.0.1"
2424
},
2525
"provide": {
26-
"psr/http-server-handler": "^1.0"
26+
"psr/http-server-handler-implementation": "1.0"
2727
}
2828
}

0 commit comments

Comments
 (0)