-
-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency conflict with php-http/guzzle6-adapter 2.0 #379
Comments
I had the same issue, you saved my day :) |
could you PR this to the documentation? |
gserrg
added a commit
to gserrg/php-gitlab-api
that referenced
this issue
Dec 23, 2018
…ning httplug v1.x
I got this one when trying to use your command:
The issue seems to be fixed when specifying the version of
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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.
The text was updated successfully, but these errors were encountered: