File tree Expand file tree Collapse file tree 4 files changed +26
-21
lines changed Expand file tree Collapse file tree 4 files changed +26
-21
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ sudo: false
44
55matrix :
66 include :
7- - php : 7.2
8- env : COLLECT_COVERAGE=true VALIDATE_CODING_STYLE=true
97 - php : 7.3
108 env : COLLECT_COVERAGE=true VALIDATE_CODING_STYLE=true
119 - php : master
Original file line number Diff line number Diff line change @@ -44,12 +44,7 @@ Testing
4444To run the tests, run the following command from the project folder.
4545
4646``` bash
47- $ docker-compose run tests
48- ```
49-
50- To run interactively using [ PsySH] ( http://psysh.org/ ) :
51- ``` bash
52- $ docker-compose run psysh
47+ $ docker-compose run test
5348```
5449
5550License
Original file line number Diff line number Diff line change 1010 },
1111 "require" : {
1212 "php" : " >=7.2" ,
13- "illuminate/http" : " ^5.8 || ^6. 0 || ^7 .0" ,
14- "illuminate/contracts" : " ^5.8 || ^6. 0 || ^7 .0"
13+ "illuminate/http" : " ^7. 0 || ^8 .0" ,
14+ "illuminate/contracts" : " ^7. 0 || ^8 .0"
1515 },
1616 "require-dev" : {
17+ "friendsofphp/php-cs-fixer" : " ^2.16" ,
1718 "mockery/mockery" : " ^1.2" ,
18- "phpunit/phpunit" : " ^8.0" ,
19- "friendsofphp/php-cs-fixer" : " ^2.4"
19+ "phpunit/phpunit" : " ^9.0"
2020 },
2121 "autoload" : {
2222 "psr-4" : {
Original file line number Diff line number Diff line change 1- version : ' 3.6 '
1+ version : " 3.7 "
22
33services :
4- tests :
4+ php :
55 volumes :
66 - ./:/app
7- image : ricc/composer-prestissimo:latest
8- command : composer run tests
7+ image : composer:2.0
98
10- fixcs :
9+ install :
1110 volumes :
1211 - ./:/app
13- image : ricc/composer-prestissimo:latest
14- command : composer run fix-cs
12+ image : composer:2.0
13+ command : composer install
14+
15+ phpunit :
16+ volumes :
17+ - ./:/app
18+ image : composer:2.0
19+ command : composer phpunit
1520
16- psysh :
21+ test :
1722 volumes :
1823 - ./:/app
19- image : ricc/psysh:latest
24+ image : composer:2.0
25+ command : composer run tests
26+
27+ fixcs :
28+ volumes :
29+ - ./:/app
30+ image : composer:2.0
31+ command : composer run fix-cs
You can’t perform that action at this time.
0 commit comments