Skip to content

Commit 8fc6986

Browse files
authored
Merge pull request #2 from softonic/Support-Laravel-6.x
Support Laravel 6.x
2 parents b729d48 + 480f25e commit 8fc6986

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Testing
4444
To run the tests, run the following command from the project folder.
4545

4646
``` bash
47-
$ docker-compose run tests
47+
$ docker-compose run test
4848
```
4949

5050
To run interactively using [PsySH](http://psysh.org/):

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
},
1111
"require": {
1212
"php": ">=7.1",
13-
"illuminate/http": "^5.8",
14-
"illuminate/contracts": "^5.8",
13+
"illuminate/http": "^5.8 || ^6.0",
14+
"illuminate/contracts": "^5.8 || ^6.0",
1515
"ext-zlib": "*"
1616
},
1717
"require-dev": {
@@ -30,7 +30,7 @@
3030
}
3131
},
3232
"scripts": {
33-
"tests": "phpunit --coverage-text; php-cs-fixer fix -v --diff --dry-run --allow-risky=yes;",
33+
"test": "phpunit --coverage-text; php-cs-fixer fix -v --diff --dry-run --allow-risky=yes;",
3434
"phpunit": "phpunit --coverage-text",
3535
"phpcs": "php-cs-fixer fix -v --diff --dry-run --allow-risky=yes;",
3636
"fix-cs": "php-cs-fixer fix -v --diff --allow-risky=yes;"

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
version: '3.6'
22

33
services:
4-
tests:
4+
test:
55
volumes:
66
- ./:/app
77
image: ricc/composer-prestissimo:latest
8-
command: composer run tests
8+
command: composer run test
99

1010
fixcs:
1111
volumes:
@@ -16,4 +16,4 @@ services:
1616
psysh:
1717
volumes:
1818
- ./:/app
19-
image: ricc/psysh:latest
19+
image: ricc/psysh:latest

0 commit comments

Comments
 (0)