File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 21
21
- " 7.2"
22
22
- " 7.3"
23
23
- " 7.4"
24
+ - " 8.0"
24
25
25
26
steps :
26
27
- name : " Checkout"
39
40
key : " php-${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}"
40
41
restore-keys : " php-${{ matrix.php-version }}-composer-"
41
42
43
+ - name : " Reset composer platform"
44
+ if : matrix.php-version == '7.1' || matrix.php-version == '7.2'
45
+ run : " composer config --unset platform"
46
+
42
47
- name : " Install dependencies"
43
48
run : " composer update --prefer-dist --no-interaction --no-progress --no-suggest"
44
49
@@ -137,6 +142,10 @@ jobs:
137
142
key : " php-${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}"
138
143
restore-keys : " php-${{ matrix.php-version }}-composer-"
139
144
145
+ - name : " Reset composer platform"
146
+ if : matrix.php-version == '7.1' || matrix.php-version == '7.2'
147
+ run : " composer config --unset platform"
148
+
140
149
- name : " Install lowest dependencies"
141
150
if : ${{ matrix.dependencies == 'lowest' }}
142
151
run : " composer update --prefer-lowest --prefer-dist --no-interaction --no-progress --no-suggest"
Original file line number Diff line number Diff line change 6
6
"minimum-stability" : " dev" ,
7
7
"prefer-stable" : true ,
8
8
"config" : {
9
- "bin-dir" : " bin"
9
+ "bin-dir" : " bin" ,
10
+ "platform" : {
11
+ "php" : " 7.4.0"
12
+ }
10
13
},
11
14
"require" : {
12
15
"php" : " ^7.1 || ^8.0" ,
21
24
"phpstan/phpstan-deprecation-rules" : " 0.12.5" ,
22
25
"phpstan/phpstan-phpunit" : " 0.12.16" ,
23
26
"phpstan/phpstan-strict-rules" : " 0.12.4" ,
24
- "phpunit/phpunit" : " 7.5.20|8.5.2 |9.3.8"
27
+ "phpunit/phpunit" : " 7.5.20|8.5.5 |9.3.8"
25
28
},
26
29
"autoload" : {
27
30
"psr-4" : {
You can’t perform that action at this time.
0 commit comments