Skip to content

Commit 28dd62b

Browse files
committed
Force PHPUnit 11.5 on PHP8.2
1 parent 62722fb commit 28dd62b

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/CI.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,13 @@ jobs:
8181
coverage: pcov
8282
tools: phpunit
8383

84+
# Force PHPUnit 11.5 on PHP 8.2 to keep support for it
85+
# https://phpunit.de/supported-versions.html
86+
- if: matrix.php-version == '8.2'
87+
run: composer require --no-update phpunit/phpunit:^11.5
88+
8489
- name: "Composer: install"
85-
run: composer install --prefer-dist --no-interaction --no-progress
90+
run: composer update --no-interaction --prefer-dist
8691

8792
- name: "PHPUnit: version"
8893
run: phpunit --version

.github/workflows/update.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Update descriptors
1+
name: "Update devices"
22

33
on:
44
# schedule:
@@ -21,7 +21,7 @@ jobs:
2121
tools: composer
2222

2323
- name: Install dependencies
24-
run: composer install --prefer-dist --no-interaction --no-progress
24+
run: composer update --no-interaction --prefer-dist
2525

2626
- name: Update device descriptors
2727
run: php bin/update-devices.php

0 commit comments

Comments
 (0)