From b9d25097c77108da0de512159e4b939eab8e0cc5 Mon Sep 17 00:00:00 2001 From: Witold Wasiczko Date: Wed, 27 Nov 2019 22:30:56 +0100 Subject: [PATCH 1/6] Add php 7.4 support --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 849fcda..b3d5ec2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ php: - 7.1 - 7.2 - 7.3 + - 7.4snapshot - hhvm # ignore errors, see below # lock distro so new future defaults will not break the build From ef6f2b1d29164086a9a83c928ad9df6e3944e8eb Mon Sep 17 00:00:00 2001 From: Witold Wasiczko Date: Wed, 27 Nov 2019 23:01:23 +0100 Subject: [PATCH 2/6] Fix tests --- tests/Io/TransactionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Io/TransactionTest.php b/tests/Io/TransactionTest.php index 371fc74..98a1cd7 100644 --- a/tests/Io/TransactionTest.php +++ b/tests/Io/TransactionTest.php @@ -184,7 +184,7 @@ public function testCustomRedirectResponseCode333WillFollowLocationHeaderAndSend $response = $messageFactory->response(1.0, 333, null, array('Location' => 'foo')); $requestRedirected = $messageFactory->request('GET', 'http://example.com/foo'); $sender = $this->makeSenderMock(); - $sender->expects($this->exactly(2))->method('send')->withConsecutive($requestOriginal, $requestRedirected)->willReturnOnConsecutiveCalls( + $sender->expects($this->exactly(2))->method('send')->withConsecutive(array($requestOriginal))->willReturnOnConsecutiveCalls( Promise\resolve($response), new \React\Promise\Promise(function () { }) ); From 4889dc36ccbcc246a42bee3a994c6a5d264e0a31 Mon Sep 17 00:00:00 2001 From: Witold Wasiczko Date: Tue, 3 Dec 2019 20:43:22 +0100 Subject: [PATCH 3/6] Use stable 7.4 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b3d5ec2..6497499 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ php: - 7.1 - 7.2 - 7.3 - - 7.4snapshot + - 7.4 - hhvm # ignore errors, see below # lock distro so new future defaults will not break the build From 9f842844e7c414f9b46b1fdea4a0e3baaa8629f4 Mon Sep 17 00:00:00 2001 From: Witold Wasiczko Date: Tue, 3 Dec 2019 20:50:55 +0100 Subject: [PATCH 4/6] Use xenial as default dist --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6497499..2fe943c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ php: - hhvm # ignore errors, see below # lock distro so new future defaults will not break the build -dist: trusty +dist: xenial matrix: include: From 080f358b6e3c4d92d86f132cdf6aacad3982f8bc Mon Sep 17 00:00:00 2001 From: Witold Wasiczko Date: Tue, 3 Dec 2019 23:12:46 +0100 Subject: [PATCH 5/6] use trusty for old php versions --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2fe943c..0d5c384 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,6 @@ language: php php: -# - 5.3 # requires old distro - - 5.4 - - 5.5 - 5.6 - 7.0 - 7.1 @@ -19,6 +16,10 @@ matrix: include: - php: 5.3 dist: precise + - php: 5.4 + dist: trusty + - php: 5.5 + dist: trusty allow_failures: - php: hhvm From 82af188b1bdd33b29c7aa837d1bf4c4c5d951cf9 Mon Sep 17 00:00:00 2001 From: Witold Wasiczko Date: Tue, 3 Dec 2019 23:47:52 +0100 Subject: [PATCH 6/6] Add nightly --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 0d5c384..b8d70a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,7 @@ php: - 7.2 - 7.3 - 7.4 + - nightly - hhvm # ignore errors, see below # lock distro so new future defaults will not break the build @@ -22,6 +23,7 @@ matrix: dist: trusty allow_failures: - php: hhvm + - php: nightly sudo: false