From c99fc14afcd0e188bfffafc416b5199736b5411d Mon Sep 17 00:00:00 2001 From: ivanbabenko Date: Sun, 19 Jan 2020 13:33:54 +0100 Subject: [PATCH] Increase available version range for elasticsearch dependency --- composer.json | 2 +- tests/Dependencies/IndexConfigurator.php | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index fd61575..9c94d67 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ ], "require": { "php": "^7.1.3", - "elasticsearch/elasticsearch": "^7.0 !=7.4.0", + "elasticsearch/elasticsearch": ">=7.0 <7.4.0", "laravel/scout": "^7.0" }, "require-dev": { diff --git a/tests/Dependencies/IndexConfigurator.php b/tests/Dependencies/IndexConfigurator.php index 3518c1e..b2836f1 100644 --- a/tests/Dependencies/IndexConfigurator.php +++ b/tests/Dependencies/IndexConfigurator.php @@ -15,11 +15,11 @@ public function mockIndexConfigurator(array $params = []) $name = $params['name'] ?? 'test'; $methods = array_merge($params['methods'] ?? [], [ - 'getName', - 'getSettings', - 'getDefaultMapping', - 'getWriteAlias', - ]); + 'getName', + 'getSettings', + 'getDefaultMapping', + 'getWriteAlias', + ]); $mock = $this->getMockBuilder(ElasticIndexConfigurator::class) ->setMethods($methods)->getMock();