Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a829c57

Browse files
committed
GH Actions: minor tweak
Since Composer 2.2.0, the `--ignore-platform-reqs` setting can be made more specific. By using `--ignore-platform-req=php+` instead of `--ignore-platform-reqs`, only the upper bound for PHP platform requirements will be ignored, not _all_ platform requirements. Ref: https://blog.packagist.com/composer-2-2/#-ignore-platform-req-improvements
1 parent 676fe6d commit a829c57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- name: Install dependencies - ignore platform reqs
9090
if: ${{ matrix.php >= 8.3 }}
9191
run: |
92-
composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress --ignore-platform-reqs --no-interaction
92+
composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress --ignore-platform-req=php+ --no-interaction
9393
9494
- name: Execute Unit Tests
9595
run: vendor/bin/phpunit

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /