Skip to content

Commit

Permalink
Multiple laravel versions (#44)
Browse files Browse the repository at this point in the history
* Update composer.json

* Update composer.json

* Update .travis.yml

* Update TestCase.php

* Update composer.json

* fix 

You are using the deprecated option "dev". Dev packages are installed by default now.

* Update composer.json

* Update composer.json
  • Loading branch information
abr4xas authored and webwizo committed May 26, 2019
1 parent e76241c commit 73ba40b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
language: php

php:
- 7.1
- 7.2

before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev
- composer install --prefer-source --no-interaction

script: phpunit
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@
}
],
"require": {
"illuminate/view": "^5.6.0",
"illuminate/support": "^5.6.0",
"illuminate/contracts": "^5.6.0",
"php": "^7.1.3"
"illuminate/view": "5.6.x|5.7.x|5.8.x",
"illuminate/support": "5.6.x|5.7.x|5.8.x",
"illuminate/contracts": "5.6.x|5.7.x|5.8.x",
"php": "^7.2"
},
"require-dev": {
"phpunit/phpunit": "7.*",
"scrutinizer/ocular": "~1.1",
"squizlabs/php_codesniffer": "~2.3",
"orchestra/testbench": "~3.6"
"phpunit/phpunit": "^7.5|^8.0",
"orchestra/testbench": "~3.8.0",
"scrutinizer/ocular": "^1.5",
"squizlabs/php_codesniffer": "~2.3"
},
"autoload": {
"classmap": [
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class TestCase extends TestBenchTestCase
/**
* Setup the test environment.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

Expand Down

0 comments on commit 73ba40b

Please sign in to comment.