Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

Commit 1d19873

Browse files
PHP 8 Support
1 parent 6daad2e commit 1d19873

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
}
2222
],
2323
"require": {
24-
"php": "^7.1.3",
25-
"elasticsearch/elasticsearch": ">=7.0 <7.4.0",
24+
"php": "^7.1.|^8.0",
25+
"elasticsearch/elasticsearch": ">=7.0 <=7.11.0",
2626
"laravel/scout": "^7.0|^8.0"
2727
},
2828
"require-dev": {
29-
"phpunit/phpunit": "^7.0",
29+
"phpunit/phpunit": "^7.0|^8.0",
3030
"mockery/mockery": "^1.0"
3131
},
3232
"autoload": {

tests/AbstractTestCase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
abstract class AbstractTestCase extends TestCase
88
{
9-
protected function tearDown()
9+
protected function tearDown() : void
1010
{
1111
parent::tearDown();
1212

tests/ElasticEngineTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ElasticEngineTest extends AbstractTestCase
2020
*/
2121
private $engine;
2222

23-
protected function setUp()
23+
protected function setUp() : void
2424
{
2525
$this->engine = $this
2626
->getMockBuilder(ElasticEngine::class)

tests/Indexers/AbstractIndexerTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ abstract class AbstractIndexerTest extends AbstractTestCase
1515
*/
1616
protected $models;
1717

18-
protected function setUp()
18+
protected function setUp() : void
1919
{
2020
$this->models = new Collection([
2121
$this->mockModel([

0 commit comments

Comments
 (0)