Skip to content

Commit 7743920

Browse files
committed
reorder
1 parent a4ca889 commit 7743920

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: .github/workflows/build.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,11 @@ jobs:
146146
extensions: mbstring
147147
tools: composer:v2
148148

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+
149154
- name: "Install lowest dependencies"
150155
if: ${{ matrix.dependencies == 'lowest' }}
151156
run: "composer update --prefer-lowest --no-interaction --no-progress"
@@ -158,10 +163,5 @@ jobs:
158163
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
159164
run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"
160165

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-
166166
- name: "PHPStan"
167167
run: "make phpstan"

0 commit comments

Comments
 (0)