File tree 4 files changed +26
-21
lines changed
4 files changed +26
-21
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ sudo: false
4
4
5
5
matrix :
6
6
include :
7
- - php : 7.2
8
- env : COLLECT_COVERAGE=true VALIDATE_CODING_STYLE=true
9
7
- php : 7.3
10
8
env : COLLECT_COVERAGE=true VALIDATE_CODING_STYLE=true
11
9
- php : master
Original file line number Diff line number Diff line change @@ -44,12 +44,7 @@ Testing
44
44
To run the tests, run the following command from the project folder.
45
45
46
46
``` 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
53
48
```
54
49
55
50
License
Original file line number Diff line number Diff line change 10
10
},
11
11
"require" : {
12
12
"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"
15
15
},
16
16
"require-dev" : {
17
+ "friendsofphp/php-cs-fixer" : " ^2.16" ,
17
18
"mockery/mockery" : " ^1.2" ,
18
- "phpunit/phpunit" : " ^8.0" ,
19
- "friendsofphp/php-cs-fixer" : " ^2.4"
19
+ "phpunit/phpunit" : " ^9.0"
20
20
},
21
21
"autoload" : {
22
22
"psr-4" : {
Original file line number Diff line number Diff line change 1
- version : ' 3.6 '
1
+ version : " 3.7 "
2
2
3
3
services :
4
- tests :
4
+ php :
5
5
volumes :
6
6
- ./:/app
7
- image : ricc/composer-prestissimo:latest
8
- command : composer run tests
7
+ image : composer:2.0
9
8
10
- fixcs :
9
+ install :
11
10
volumes :
12
11
- ./:/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
15
20
16
- psysh :
21
+ test :
17
22
volumes :
18
23
- ./:/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