Skip to content

Commit d1c25be

Browse files
Merge pull request #1 from Chalkin/master
Added support for Laravel 6.x and 7.x
2 parents fc06eff + 09d3e5a commit d1c25be

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Adds optimistic locking feature to Eloquent models.
88
composer require reshadman/laravel-optimistic-locking
99
```
1010

11-
> This package supports Laravel 5.5.*, 5.6.*, 5.7.* and 5.8.*.
11+
> This package supports Laravel 5.5.*, 5.6.*, 5.7.*, 5.8.*, 6.* and 7.*.
1212
1313
## Usage
1414

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
],
1212
"require": {
1313
"php": "^7.1",
14-
"illuminate/database": "~5.5.0|~5.6.0|~5.7.0|~5.8.0",
15-
"illuminate/support": "~5.5.0|~5.6.0|~5.7.0|~5.8.0"
14+
"illuminate/database": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0",
15+
"illuminate/support": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0"
1616
},
1717
"require-dev": {
1818
"ext-pdo_sqlite": "*",
1919
"mockery/mockery": "^1.0.0",
20-
"orchestra/testbench": "~3.5.0|~3.6.0",
21-
"phpunit/phpunit" : "^7.0"
20+
"orchestra/testbench": "~3.5.0|~3.6.0|~3.8.0|^4.0|^5.0",
21+
"phpunit/phpunit" : "^7.0|^8.0|^9.0"
2222
},
2323
"autoload": {
2424
"psr-4": {

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
class TestCase extends Orchestra
99
{
10-
public function setUp()
10+
protected function setUp() : void
1111
{
1212
parent::setUp();
1313

0 commit comments

Comments
 (0)