Skip to content

Commit 49f01cd

Browse files
committed
try fix php 7.2 build
1 parent fd369d0 commit 49f01cd

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/static-analysis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,16 @@ jobs:
5555
- name: "Install dependencies"
5656
run: "composer install --no-interaction --no-progress"
5757

58-
- name: "Transform source code"
59-
if: matrix.php-version != '8.1' && matrix.php-version != '8.2' && matrix.php-version != '8.3'
60-
shell: bash
61-
run: "vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"
62-
6358
- name: "Downgrade composer/semver for brianium/paratest:4.0.0 compatibility"
6459
if: matrix.php-version == '7.2'
6560
run: composer require composer/semver:"3.4.2 as 1.7.2"
6661
shell: bash
6762

63+
- name: "Transform source code"
64+
if: matrix.php-version != '8.1' && matrix.php-version != '8.2' && matrix.php-version != '8.3'
65+
shell: bash
66+
run: "vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"
67+
6868
- name: "Paratest patch"
6969
if: matrix.php-version == '7.2'
7070
run: composer config extra.patches.brianium/paratest --json --merge '["patches/paratest.patch"]'

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,14 +187,14 @@ jobs:
187187
- name: "Install dependencies"
188188
run: "composer install --no-interaction --no-progress"
189189

190-
- name: "Transform source code"
191-
shell: bash
192-
run: "vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"
193-
194190
- name: "Downgrade composer/semver for brianium/paratest:4.0.0 compatibility"
195191
run: composer require composer/semver:"3.4.2 as 1.7.2"
196192
shell: bash
197193

194+
- name: "Transform source code"
195+
shell: bash
196+
run: "vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"
197+
198198
- name: "Paratest patch"
199199
run: composer config extra.patches.brianium/paratest --json --merge '["patches/paratest.patch"]'
200200
shell: bash

0 commit comments

Comments
 (0)