Skip to content

Commit

Permalink
Merge pull request #60 from nonoesp/patch-1
Browse files Browse the repository at this point in the history
Add Laravel 7 support. 🥳
  • Loading branch information
nonoesp authored Apr 30, 2020
2 parents b7c1bbe + c387b9f commit 9c0fb2d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mpociot/versionable",
"license": "MIT",
"description": "Allows to create Laravel 4 / 5 / 6 Model versioning and restoring",
"description": "Allows to create Laravel 4 / 5 / 6 / 7 Model versioning and restoring",
"keywords": [
"model",
"laravel",
Expand All @@ -22,13 +22,13 @@
"source": "https://github.com/mpociot/versionable"
},
"require": {
"php": ">=7.1.0 || >=7.2.0",
"illuminate/support": "~5.3 || ^6.0"
"php": ">=7.1.0 || >=7.2.5",
"illuminate/support": "~5.3 || ^6.0 || ^7.0"
},
"require-dev": {
"phpunit/phpunit": "7.*",
"phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
"mockery/mockery": "^1.0",
"orchestra/testbench": "^3.7"
"orchestra/testbench": "^3.1 || ^4.0 || ^5.0"
},
"autoload": {
"classmap": [
Expand Down
3 changes: 1 addition & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="true"
stopOnFailure="true"
syntaxCheck="false">
stopOnFailure="true">
<testsuites>
<testsuite name="Versionable Suite">
<directory>tests/</directory>
Expand Down
2 changes: 2 additions & 0 deletions src/Mpociot/Versionable/Providers/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@ public function boot()
$this->publishes([
__DIR__.'/../../../config/config.php' => config_path('versionable.php'),
], 'config');

$this->loadMigrationsFrom(__DIR__.'/../../../migrations');
}
}

0 comments on commit 9c0fb2d

Please sign in to comment.