Skip to content

Commit

Permalink
Merge pull request #1 from ARCANEDEV/update-laravel_5.4_support
Browse files Browse the repository at this point in the history
Adding Laravel 5.4 Support
  • Loading branch information
arcanedev-maroc authored Jan 31, 2017
2 parents a211432 + ab75961 commit acece97
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ checks:
tools:
external_code_coverage:
timeout: 600
runs: 9
runs: 3
php_code_sniffer:
enabled: true
config:
Expand Down
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ matrix:
- php: nightly

env:
- TESTBENCH_VERSION=3.1.*
- TESTBENCH_VERSION=3.2.*
- TESTBENCH_VERSION=3.3.*
- TESTBENCH_VERSION=3.4.*

before_script:
- travis_retry composer self-update
- travis_retry composer require --prefer-source --no-interaction --dev "orchestra/testbench:${TESTBENCH_VERSION}"
- travis_retry composer require --prefer-source --no-interaction --dev "orchestra/testbench-browser-kit:${TESTBENCH_VERSION}" "orchestra/database:${TESTBENCH_VERSION}"

script:
- composer validate
Expand Down
11 changes: 7 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@
"license": "MIT",
"require": {
"php": ">=5.6",
"arcanedev/support": "~3.20"
"arcanedev/support": "~4.0"
},
"require-dev": {
"phpunit/phpcov": "~3.0",
"phpunit/phpunit": "~5.0",
"orchestra/testbench": "~3.0"
"orchestra/testbench-browser-kit": "~3.0",
"orchestra/database": "~3.0"
},
"autoload": {
"psr-4": {
Expand All @@ -33,11 +34,13 @@
}
},
"scripts": {
"testbench": "composer require --dev \"orchestra/testbench=~3.0\""
"testbench": "composer require --dev \"orchestra/testbench-browser-kit=~3.0\" \"orchestra/database=~3.0\""
},
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
}
},
"minimum-stability": "dev",
"prefer-stable" : true
}
3 changes: 2 additions & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php namespace Arcanedev\LaravelSeo\Tests;

use Orchestra\Testbench\TestCase as BaseTestCase;
use Orchestra\Testbench\BrowserKit\TestCase as BaseTestCase;

/**
* Class TestCase
Expand Down Expand Up @@ -34,6 +34,7 @@ public function setUp()
protected function getPackageProviders($app)
{
return [
\Orchestra\Database\ConsoleServiceProvider::class,
\Arcanedev\LaravelSeo\LaravelSeoServiceProvider::class,
];
}
Expand Down

0 comments on commit acece97

Please sign in to comment.