From 55299060c950d9cd04ad5f3fa9b129240ce68ddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20HULARD?= Date: Mon, 4 Apr 2016 18:54:01 +0200 Subject: [PATCH] Update composer to use Httplug adapters `php-http/guzzle-adapter` is still required as dev dependency because it is used as the base adapter. All the unit tests required that client to work. --- composer.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 823c769..15f262f 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,10 @@ "description": "Wrapper for OVH APIs", "license": "BSD-3-Clause", "require": { - "guzzlehttp/guzzle": "^6.0" + "guzzlehttp/psr7": "~1.2", + "php-http/httplug": "^1.0", + "php-http/client-implementation": "^1.0", + "php-http/discovery": "^0.8" }, "autoload": { "psr-4": {"Ovh\\": "src/"} @@ -12,6 +15,7 @@ "phpunit/phpunit": "4.*", "phpdocumentor/phpdocumentor": "2.*", "squizlabs/php_codesniffer": "2.*", - "phing/phing": "^2.14" + "phing/phing": "^2.14", + "php-http/guzzle6-adapter": "^1.0" } }