diff --git a/README.md b/README.md index 779250b..b2d7d52 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Adds optimistic locking feature to Eloquent models. composer require reshadman/laravel-optimistic-locking ``` -> This package supports Laravel 5.5.*, 5.6.*, 5.7.* and 5.8.*. +> This package supports Laravel 5.5.*, 5.6.*, 5.7.*, 5.8.*, 6.* and 7.*. ## Usage diff --git a/composer.json b/composer.json index 6d3b737..6de210c 100644 --- a/composer.json +++ b/composer.json @@ -11,14 +11,14 @@ ], "require": { "php": "^7.1", - "illuminate/database": "~5.5.0|~5.6.0|~5.7.0|~5.8.0", - "illuminate/support": "~5.5.0|~5.6.0|~5.7.0|~5.8.0" + "illuminate/database": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0", + "illuminate/support": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0" }, "require-dev": { "ext-pdo_sqlite": "*", "mockery/mockery": "^1.0.0", - "orchestra/testbench": "~3.5.0|~3.6.0", - "phpunit/phpunit" : "^7.0" + "orchestra/testbench": "~3.5.0|~3.6.0|~3.8.0|^4.0|^5.0", + "phpunit/phpunit" : "^7.0|^8.0|^9.0" }, "autoload": { "psr-4": { diff --git a/tests/TestCase.php b/tests/TestCase.php index 33fd4e8..896ca21 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -7,7 +7,7 @@ class TestCase extends Orchestra { - public function setUp() + protected function setUp() : void { parent::setUp();