Skip to content

Commit

Permalink
Fix the composer provide rule
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
stof committed Oct 22, 2020
1 parent 710fd17 commit a0689c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"squizlabs/php_codesniffer": "^3.5"
},
"provide": {
"psr/http-factory": "^1.0"
"psr/http-factory-implementation": "1.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit a0689c4

Please sign in to comment.