From 0ad07cc1fcbc0447ac2cb20357089abc7318db4e Mon Sep 17 00:00:00 2001 From: Maxim Date: Sun, 15 Dec 2019 02:33:08 +0300 Subject: [PATCH 1/2] Add 7.4 for travis PHP 7.4 released, and we need run tests for 7.4 too --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9e10589..913e1aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ php: - 7.1 - 7.2 - 7.3 +- 7.4 matrix: fast_finish: true @@ -33,7 +34,7 @@ jobs: env: TEST_COMMAND="./vendor/bin/phpunit" DEPENDENCIES="phpunit/phpunit:^7.5 nyholm/psr7:^1.0" # Latest dev release - - php: 7.3 + - php: 7.4 env: STABILITY="dev" before_install: From 8c587e9c75afb64bf1237e9ac70f46f714fe7031 Mon Sep 17 00:00:00 2001 From: Maxim Date: Sun, 15 Dec 2019 19:55:51 +0300 Subject: [PATCH 2/2] Add phpspec v6 support --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index bc853de..2eb548d 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "require-dev": { "doctrine/instantiator": "^1.1", "guzzlehttp/psr7": "^1.4", - "phpspec/phpspec": "^5.1", + "phpspec/phpspec": "^5.1 || ^6.0", "phpspec/prophecy": "^1.8", "sebastian/comparator": "^3.0" },