Skip to content

Commit

Permalink
Merge pull request #11 from ben182/develop
Browse files Browse the repository at this point in the history
Laravel 5.8 Support
  • Loading branch information
ben182 authored Apr 13, 2019
2 parents 9524658 + 49f150f commit 4e6963d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ cache:

env:
- ILLUMINATE_VERSION=5.6.* PHPUNIT_VERSION=~7.0
- ILLUMINATE_VERSION=5.7.* PHPUNIT_VERSION=~7.0 COVERAGE=true
- ILLUMINATE_VERSION=5.7.* PHPUNIT_VERSION=~7.0
- ILLUMINATE_VERSION=5.8.* PHPUNIT_VERSION=~8.0 COVERAGE=true

matrix:
fast_finish: true
exclude:
- php: 7.1
env: ILLUMINATE_VERSION=5.8.* PHPUNIT_VERSION=~8.0 COVERAGE=true

before_install:
- travis_retry composer self-update
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
],
"require": {
"php": "^7.1",
"illuminate/support": "5.6.* || 5.7.*",
"illuminate/support": "5.6.* || 5.7.* || 5.8.*",
"stichoza/google-translate-php": "^4.0",
"themsaid/laravel-langman": "^1.3"
},
"require-dev": {
"orchestra/testbench": "3.6.* || 3.7.*",
"phpunit/phpunit": "^7.0",
"orchestra/testbench": "3.6.* || 3.7.* || 3.8.*",
"phpunit/phpunit": "^8.0",
"mockery/mockery": "^1.2"
},
"autoload": {
Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

class TestCase extends \Orchestra\Testbench\TestCase
{
public function setUp()
public function setUp(): void
{
parent::setUp();
exec('rm -rf '.__DIR__.'/temp/*');
}

public function tearDown()
public function tearDown(): void
{
parent::tearDown();
exec('rm -rf '.__DIR__.'/temp/*');
Expand Down

0 comments on commit 4e6963d

Please sign in to comment.