Skip to content

Commit f53846b

Browse files
committed
Fix PHP 7.2 + composer-require-checker
1 parent f11b204 commit f53846b

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/CI.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,19 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- uses: actions/checkout@v2
29+
- name: Setup PHP
30+
uses: shivammathur/setup-php@v2
31+
with:
32+
php-version: '8.1'
33+
tools: composer
34+
env:
35+
# Always use latest available patch for the version
36+
update: true
37+
- name: Build
38+
run: make build
2939
- name: ComposerRequireChecker
3040
uses: docker://webfactory/composer-require-checker:3.2.0
41+
3142
unit-tests:
3243
name: Unit / PHP ${{ matrix.php-version }}
3344
runs-on: ubuntu-latest

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"symfony/framework-bundle": "^4.4 || ^5.4",
5050
"symfony/routing": "^4.4 || ^5.4",
5151
"yoanm/php-unit-extended": "~1.0",
52-
"phpspec/prophecy-phpunit": "^2.0",
53-
"dvdoug/behat-code-coverage": "^5.2"
52+
"phpspec/prophecy-phpunit": "^1.0 || ^2.0",
53+
"dvdoug/behat-code-coverage": "^5.0"
5454
}
5555
}

0 commit comments

Comments
 (0)