From 0a584f01695cfed15664cc00e1b5d0ad51eb35a2 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 1 Apr 2019 12:42:26 +0100 Subject: [PATCH 1/3] Add PHP 7.3 --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index d38b4db..b976561 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ language: php php: - 7.1 - 7.2 + - 7.3 before_script: - composer install --dev --prefer-source --no-interaction From 6529b3d042b3d66bb316a048014ad3a392acbf38 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 1 Apr 2019 12:43:14 +0100 Subject: [PATCH 2/3] Add Composer flags --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index b976561..d1ba971 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,11 @@ php: - 7.2 - 7.3 +env: + matrix: + - COMPOSER_FLAGS="--prefer-lowest" + - COMPOSER_FLAGS="" + before_script: - composer install --dev --prefer-source --no-interaction From 20aad9349b5bb2687f155b66f3d6335acb6610b4 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 1 Apr 2019 12:55:06 +0100 Subject: [PATCH 3/3] Fix spaces --- tests/Unit/Model/FilterTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Unit/Model/FilterTest.php b/tests/Unit/Model/FilterTest.php index 3e0929c..8de48fc 100644 --- a/tests/Unit/Model/FilterTest.php +++ b/tests/Unit/Model/FilterTest.php @@ -118,8 +118,8 @@ class FilterTest extends TestCase public function testMultipleSubjectsCanBeAdded() { $this->assertEquals( - ['subject' => '"Test"|"Foo bar"'], - $this->filter->subject(['Test', 'Foo bar'])->toArray() + ['subject' => '"Test"|"Foo bar"'], + $this->filter->subject(['Test', 'Foo bar'])->toArray() ); }