Skip to content

Commit 73ba40b

Browse files
abr4xaswebwizo
authored andcommitted
Multiple laravel versions (#44)
* 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
1 parent e76241c commit 73ba40b

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
language: php
22

33
php:
4-
- 7.1
4+
- 7.2
55

66
before_script:
77
- composer self-update
8-
- composer install --prefer-source --no-interaction --dev
8+
- composer install --prefer-source --no-interaction
99

1010
script: phpunit

composer.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@
1818
}
1919
],
2020
"require": {
21-
"illuminate/view": "^5.6.0",
22-
"illuminate/support": "^5.6.0",
23-
"illuminate/contracts": "^5.6.0",
24-
"php": "^7.1.3"
21+
"illuminate/view": "5.6.x|5.7.x|5.8.x",
22+
"illuminate/support": "5.6.x|5.7.x|5.8.x",
23+
"illuminate/contracts": "5.6.x|5.7.x|5.8.x",
24+
"php": "^7.2"
2525
},
2626
"require-dev": {
27-
"phpunit/phpunit": "7.*",
28-
"scrutinizer/ocular": "~1.1",
29-
"squizlabs/php_codesniffer": "~2.3",
30-
"orchestra/testbench": "~3.6"
27+
"phpunit/phpunit": "^7.5|^8.0",
28+
"orchestra/testbench": "~3.8.0",
29+
"scrutinizer/ocular": "^1.5",
30+
"squizlabs/php_codesniffer": "~2.3"
3131
},
3232
"autoload": {
3333
"classmap": [

tests/TestCase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class TestCase extends TestBenchTestCase
99
/**
1010
* Setup the test environment.
1111
*/
12-
public function setUp()
12+
public function setUp(): void
1313
{
1414
parent::setUp();
1515

0 commit comments

Comments
 (0)