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

Commit

Permalink
Merge pull request #409 from adithyasrinivasan/master
Browse files Browse the repository at this point in the history
PHP 8 Support
  • Loading branch information
babenkoivan authored Mar 22, 2021
2 parents e90827a + cf4ad92 commit c1d868a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
}
],
"require": {
"php": "^7.1.3",
"elasticsearch/elasticsearch": ">=7.0 <7.4.0",
"php": "^7.1.|^8.0",
"elasticsearch/elasticsearch": ">=7.0 <=7.11.0",
"laravel/scout": "^7.0|^8.0"
},
"require-dev": {
"phpunit/phpunit": "^7.0",
"phpunit/phpunit": "^7.0|^8.0",
"mockery/mockery": "^1.0"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion tests/AbstractTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

abstract class AbstractTestCase extends TestCase
{
protected function tearDown()
protected function tearDown(): void
{
parent::tearDown();

Expand Down
2 changes: 1 addition & 1 deletion tests/ElasticEngineTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ElasticEngineTest extends AbstractTestCase
*/
private $engine;

protected function setUp()
protected function setUp(): void
{
$this->engine = $this
->getMockBuilder(ElasticEngine::class)
Expand Down
2 changes: 1 addition & 1 deletion tests/Indexers/AbstractIndexerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ abstract class AbstractIndexerTest extends AbstractTestCase
*/
protected $models;

protected function setUp()
protected function setUp(): void
{
$this->models = new Collection([
$this->mockModel([
Expand Down

0 comments on commit c1d868a

Please sign in to comment.