Skip to content

Commit aa6b9e8

Browse files
authored
Merge pull request #70 from spawnia/support-phpunit-10
Support PHPUnit 10
2 parents 2a0e774 + 815b4a6 commit aa6b9e8

File tree

6 files changed

+72
-2473
lines changed

6 files changed

+72
-2473
lines changed

.github/workflows/run-tests.yml

+3
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,8 @@ jobs:
9191
run: |
9292
composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress --ignore-platform-req=php+ --no-interaction
9393
94+
- name: Migrate PHPUnit configuration if possible
95+
run: vendor/bin/phpunit --migrate-configuration || echo '--migrate-configuration not available'
96+
9497
- name: Execute Unit Tests
9598
run: vendor/bin/phpunit

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "This package provides ArraySubset and related asserts once deprecated in PHPUnit 8",
44
"type": "library",
55
"require": {
6-
"phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
6+
"phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0",
77
"php": "^5.4 || ^7.0 || ^8.0"
88
},
99
"license": "MIT",

0 commit comments

Comments
 (0)