Skip to content

Commit 3cf8f03

Browse files
committed
ci: add PHPUnit 10.5.30 for PHP 8.1 and support PHPUnit 12
1 parent 6efd91a commit 3cf8f03

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/jest.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ jobs:
5656
- name: Install Composer dependencies (PHPUnit)
5757
run: cd ${{ env.PHPUNIT_PROJECT }} && composer update --prefer-dist --no-interaction --no-progress
5858

59+
- name: Install PHPUnit 10.5.30 for PHP 8.1
60+
if: matrix.php == '8.1'
61+
run: cd ${{ env.PHPUNIT_PROJECT }} && composer require phpunit/phpunit:10.5.30 --prefer-dist --no-interaction --no-progress
62+
5963
- name: Install Composer dependencies (PEST)
6064
if: matrix.php >= '8.0'
6165
run: cd ${{ env.PEST_PROJECT }} && composer update --prefer-dist --no-interaction --no-progress

src/PHPUnit/__tests__/fixtures/phpunit-stub/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "recca0120/vscode-phpunit",
33
"type": "project",
44
"require-dev": {
5-
"phpunit/phpunit": "^11.0 || ^10.0 || ^9.5 || ^7.5",
5+
"phpunit/phpunit": "^12.0 || ^11.0 || ^10.0 || ^9.5 || ^7.5",
66
"mockery/mockery": "^1.5 || 1.3",
77
"brianium/paratest": "^7.0 || ^6.6 || ^4.0"
88
},

0 commit comments

Comments
 (0)