Skip to content

Commit

Permalink
Merge pull request #50 from rumeau/master
Browse files Browse the repository at this point in the history
Adds support for Laravel 6.0
  • Loading branch information
mpociot authored Oct 7, 2019
2 parents 536c732 + 413cfd7 commit b7c1bbe
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 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 Model versioning and restoring",
"description": "Allows to create Laravel 4 / 5 / 6 Model versioning and restoring",
"keywords": [
"model",
"laravel",
Expand All @@ -22,8 +22,8 @@
"source": "https://github.com/mpociot/versionable"
},
"require": {
"php": ">=7.1.0",
"illuminate/support": "~5.3"
"php": ">=7.1.0 || >=7.2.0",
"illuminate/support": "~5.3 || ^6.0"
},
"require-dev": {
"phpunit/phpunit": "7.*",
Expand Down
1 change: 1 addition & 0 deletions src/migrations/2014_09_27_212641_create_versions_table.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

Expand Down
2 changes: 1 addition & 1 deletion tests/VersionableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class VersionableTest extends VersionableTestCase
{

public function tearDown()
public function tearDown(): void
{
m::close();
Auth::clearResolvedInstances();
Expand Down
2 changes: 1 addition & 1 deletion tests/VersionableTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

abstract class VersionableTestCase extends \Orchestra\Testbench\TestCase
{
public function setUp()
public function setUp(): void
{
parent::setUp();

Expand Down

0 comments on commit b7c1bbe

Please sign in to comment.