Skip to content

Commit

Permalink
downgrade composer/semver for brianium/paratest:4.0.0 compat
Browse files Browse the repository at this point in the history
should fix the php 7.2 CI build
  • Loading branch information
staabm committed Mar 22, 2024
1 parent 3badc30 commit 5c6a0cd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/static-analysis.yml
Expand Up @@ -60,6 +60,11 @@ jobs:
shell: bash
run: "vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"

- name: "Downgrade composer/semver for brianium/paratest:4.0.0 compatibility"
if: matrix.php-version == '7.2'
run: composer require composer/semver:"3.4.0 as 1.7.2"
shell: bash

- name: "Paratest patch"
if: matrix.php-version == '7.2'
run: composer config extra.patches.brianium/paratest --json --merge '["patches/paratest.patch"]'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Expand Up @@ -191,6 +191,10 @@ jobs:
shell: bash
run: "vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"

- name: "Downgrade composer/semver for brianium/paratest:4.0.0 compatibility"
run: composer require composer/semver:"3.4.0 as 1.7.2"
shell: bash

- name: "Paratest patch"
run: composer config extra.patches.brianium/paratest --json --merge '["patches/paratest.patch"]'
shell: bash
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5c6a0cd

Please sign in to comment.