From 1c458de1f5a9a84e294b166b516443f35f58158b Mon Sep 17 00:00:00 2001 From: Drew Butler Date: Fri, 7 Sep 2018 11:47:55 -0500 Subject: [PATCH 1/5] Update min php to 7.0 --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index ed505f1..05a64b0 100644 --- a/composer.json +++ b/composer.json @@ -23,12 +23,12 @@ } ], "require": { - "php": ">=5.6", + "php": ">=7.0.0", "psr/http-message": "^1.0" }, "require-dev": { "squizlabs/php_codesniffer": "^2.5", - "phpunit/phpunit": "^5.7|^6.0", + "phpunit/phpunit": "^7.0", "php-http/psr7-integration-tests": "dev-master" }, "provide": { From 62c072c8d06aa7c30ad2b50f9f30ccee5afa1c4f Mon Sep 17 00:00:00 2001 From: Drew Butler Date: Fri, 7 Sep 2018 12:33:57 -0500 Subject: [PATCH 2/5] Drop php 5.6 from travis --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5399029..0df5f62 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,6 @@ sudo: false language: php php: - - 5.6 - 7.0 - 7.1 - nightly From ea49ad6d3bae5050db11a2fe3b12185d94b54592 Mon Sep 17 00:00:00 2001 From: Drew Butler Date: Fri, 7 Sep 2018 12:38:06 -0500 Subject: [PATCH 3/5] Add php 7.2 to travis config --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 0df5f62..32d71d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ language: php php: - 7.0 - 7.1 + - 7.2 - nightly matrix: From 0655eae34fa8d6db3d3febb33a762428b328e4c8 Mon Sep 17 00:00:00 2001 From: Drew Butler Date: Fri, 7 Sep 2018 12:38:24 -0500 Subject: [PATCH 4/5] drop phpunit to 6.0, for php 7.0 compatibility --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 05a64b0..8d22a47 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ }, "require-dev": { "squizlabs/php_codesniffer": "^2.5", - "phpunit/phpunit": "^7.0", + "phpunit/phpunit": "^6.0", "php-http/psr7-integration-tests": "dev-master" }, "provide": { From fadfa3f04f95550b033bb3fb633e0491f497e84c Mon Sep 17 00:00:00 2001 From: Drew Butler Date: Fri, 7 Sep 2018 12:39:55 -0500 Subject: [PATCH 5/5] Add phpunit 7.0 with conditional support --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 8d22a47..b1c83e3 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ }, "require-dev": { "squizlabs/php_codesniffer": "^2.5", - "phpunit/phpunit": "^6.0", + "phpunit/phpunit": "^6.0|^7.0", "php-http/psr7-integration-tests": "dev-master" }, "provide": {