Skip to content

Commit

Permalink
Add Laravel 5.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkomarev committed Feb 26, 2019
1 parent 5c735e1 commit b954027
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Expand Up @@ -2,7 +2,11 @@

All notable changes to `laravel-love` will be documented in this file.

## [6.1.0] - WIP
## [6.1.0] - 2019-02-26

### Added

- Laravel 5.8 support

### Changed

Expand Down
10 changes: 5 additions & 5 deletions composer.json
@@ -1,6 +1,6 @@
{
"name": "cybercog/laravel-love",
"description": "Make Laravel Eloquent models reactable with Likes & Dislikes in a minutes!",
"description": "Make Laravel Eloquent models reactable with any type of emotions in a minutes!",
"type": "library",
"license": "MIT",
"keywords": [
Expand Down Expand Up @@ -47,14 +47,14 @@
},
"require": {
"php": "^7.1.3",
"illuminate/database": "5.6.*|5.7.*",
"illuminate/support": "5.6.*|5.7.*"
"illuminate/database": "5.6.*|5.7.*|5.8.*",
"illuminate/support": "5.6.*|5.7.*|5.8.*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.10",
"mockery/mockery": "^1.0",
"orchestra/database": "~3.6.0|~3.7.0",
"orchestra/testbench": "~3.6.0|~3.7.0",
"orchestra/database": "~3.6.0|~3.7.0|~3.8.0",
"orchestra/testbench": "~3.6.0|~3.7.0|~3.8.0",
"phpunit/phpunit": "^7.5"
},
"autoload": {
Expand Down
3 changes: 2 additions & 1 deletion tests/Unit/Console/Commands/RecountTest.php
Expand Up @@ -27,6 +27,7 @@
use Cog\Tests\Laravel\Love\Stubs\Models\EntityWithMorphMap;
use Cog\Tests\Laravel\Love\TestCase;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Str;

final class RecountTest extends TestCase
{
Expand All @@ -40,7 +41,7 @@ protected function setUp(): void
{
parent::setUp();

if (starts_with($this->app->version(), '5.7')) {
if (!Str::startsWith($this->app->version(), '5.6')) {
$this->withoutMockingConsoleOutput();
}

Expand Down

0 comments on commit b954027

Please sign in to comment.