Closed
Description
Q | A |
---|---|
Bug? | maybe |
New Feature? | maybe |
Version | 1.2.0 |
Actual Behavior
Package does provide only php-http/client-implementation
Expected Behavior
Package should also provide psr/http-client-implementation if fully compatible with PSR-18
Steps to Reproduce
Create a project with composer.json:
...
"require": {
"psr/http-client": "^1.0.0",
"psr/http-client-implementation": "^1.0.0",
"psr/http-message": "^1.0.0",
"psr/http-message-implementation": "^1.0.0",
"psr/http-factory": "^1.0.0",
"psr/http-factory-implementation": "^1.0.0",
},
"require-dev": {
"phpunit/phpunit": "^6.0.0",
"nyholm/psr7": "^1.0.0",
"php-http/mock-client": "^1.2.0"
},
...
Composer install/update will fail with Your requirements could not be resolved to an installable set of packages.
where it would succeed if I'd require php-http/client-implementation
instead.
Possible Solutions
Add psr/http-client-implementation
to composer.json provides
section.
Metadata
Metadata
Assignees
Labels
No labels