From c346f54b612e693d4ce8c59c8fdb7401efed9e06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1gi-Kaz=C3=A1r=20M=C3=A1rk?= Date: Sun, 27 Dec 2015 00:02:39 +0100 Subject: [PATCH 1/2] Make php-http/message hard dependency, fixes #28 --- composer.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 2862374..c058e4e 100644 --- a/composer.json +++ b/composer.json @@ -16,10 +16,10 @@ "php-http/message-factory": "^1.0", "php-http/promise": "^0.1.1", "php-http/client-common": "^0.1.1", + "php-http/message": "^0.1.1", "symfony/options-resolver": "^2.6|^3.0" }, "require-dev": { - "php-http/message": "^0.1.1", "php-http/cookie": "^0.1@dev", "symfony/stopwatch": "^2.3", "psr/log": "^1.0", @@ -38,7 +38,6 @@ } }, "suggest": { - "php-http/message": "Allow to use Authentication and Encoding plugins", "php-http/cookie": "Allow to use CookiePlugin", "symfony/stopwatch": "Allow to use the StopwatchPlugin", "psr/log-implementation": "Allow to use the LoggerPlugin", From 491fb11c0f637bfdfaf2db89c144be4de2364251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1gi-Kaz=C3=A1r=20M=C3=A1rk?= Date: Sun, 27 Dec 2015 00:09:09 +0100 Subject: [PATCH 2/2] Make psr/log and psr/cache hard dependencies, fixes #36 --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index c058e4e..7b1f889 100644 --- a/composer.json +++ b/composer.json @@ -15,6 +15,8 @@ "php-http/httplug": "1.0.0-beta", "php-http/message-factory": "^1.0", "php-http/promise": "^0.1.1", + "psr/log": "^1.0", + "psr/cache": "^1.0", "php-http/client-common": "^0.1.1", "php-http/message": "^0.1.1", "symfony/options-resolver": "^2.6|^3.0" @@ -22,8 +24,6 @@ "require-dev": { "php-http/cookie": "^0.1@dev", "symfony/stopwatch": "^2.3", - "psr/log": "^1.0", - "psr/cache": "^1.0", "phpspec/phpspec": "^2.4", "henrikbjorn/phpspec-code-coverage" : "^1.0" },