Skip to content

Commit b2ba0be

Browse files
committed
github workflow ignore platform reqs on composer install
1 parent 33e93ad commit b2ba0be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/php.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: "lint PHP files"
4444
run: "php -l src/ tests/"
4545
- name: "install composer dependencies"
46-
run: "composer install --prefer-dist --no-progress"
46+
run: "composer install --prefer-dist --no-progress --ignore-platform-reqs"
4747
# PHPStan
4848
- name: "PHPStan static analysis"
4949
uses: "php-actions/phpstan@v3"
@@ -68,7 +68,7 @@ jobs:
6868
- name: "check PHP version"
6969
run: "php -v"
7070
- name: "install composer dependencies"
71-
run: "composer install --prefer-dist --no-progress"
71+
run: "composer install --prefer-dist --no-progress --ignore-platform-reqs"
7272
- name: "CodeClimate reporter setup"
7373
run: |
7474
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter

0 commit comments

Comments
 (0)