File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,11 @@ jobs:
146
146
extensions : mbstring
147
147
tools : composer:v2
148
148
149
+ # in PHP 7.1, the json_decode() 2nd parameter requires bool, while PHP 7.2 it's null|int
150
+ - name : " Downgrade nette/utils"
151
+ if : matrix.php-version == '7.1'
152
+ run : " composer require --dev nette/utils:^2.3 nette/forms:^2.4 --update-with-dependencies"
153
+
149
154
- name : " Install lowest dependencies"
150
155
if : ${{ matrix.dependencies == 'lowest' }}
151
156
run : " composer update --prefer-lowest --no-interaction --no-progress"
@@ -158,10 +163,5 @@ jobs:
158
163
if : matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
159
164
run : " composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"
160
165
161
- # in PHP 7.1, the json_decode() 2nd parameter requires bool, while PHP 7.2 it's null|int
162
- - name : " Downgrade nette/utils"
163
- if : matrix.php-version == '7.1'
164
- run : " composer require --dev nette/utils:^2.3 nette/forms:^2.4 --update-with-dependencies"
165
-
166
166
- name : " PHPStan"
167
167
run : " make phpstan"
You can’t perform that action at this time.
0 commit comments