-
-
Notifications
You must be signed in to change notification settings - Fork 455
Closed
Description
If you try to include this package with the official instruction it will fail because of a version conflict.
composer require m4tthumphrey/php-gitlab-api php-http/guzzle6-adapter
This causes a conflict with dependency php-http/httplug because this package wants version 1.1, but the guzzle 6 adapter wants version 2.0.
- Installation request for m4tthumphrey/php-gitlab-api ^9.11 -> satisfiable by m4tthumphrey/php-gitlab-api[9.11.0]. - Can only install one of: php-http/httplug[v2.0.0, v1.1.0]. - php-http/guzzle6-adapter v2.0.0 requires php-http/httplug ^2.0 -> satisfiable by php-http/httplug[v2.0.0]. - m4tthumphrey/php-gitlab-api 9.11.0 requires php-http/httplug ^1.1 -> satisfiable by php-http/httplug[v1.1.0]. - Installation request for php-http/guzzle6-adapter ^2.0 -> satisfiable by php-http/guzzle6-adapter[v2.0.0].
To fix this I had to explicitly tell Composer to only use version ^1.0 of php-http/guzzle6-adapter as follows:
composer require m4tthumphrey/php-gitlab-api php-http/guzzle6-adapter:^1.0
The installation instructions should be updated on that.
dhardtke, tipytechnique, AnwarElbo, umutkirgoz, SebastianZ and 2 moreTylerBarnes
Metadata
Metadata
Assignees
Labels
No labels