Skip to content

Commit

Permalink
feat: Support PHPUnit 10 (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
michalbundyra authored Feb 13, 2023
1 parent ff40374 commit c9fd81b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
strategy:
matrix:
php-version:
- '8.2'
- '8.1'
- '8.0'
- '7.4'
Expand All @@ -25,9 +26,7 @@ jobs:
name: PHP ${{ matrix.php-version }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
uses: actions/checkout@v3

- name: Install PHP
uses: shivammathur/setup-php@v2
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
},
"require": {
"php": ">=5.6",
"php-mock/php-mock": "^2.2",
"phpunit/php-text-template": "^1 || ^2"
"php-mock/php-mock": "^2.4",
"phpunit/php-text-template": "^1 || ^2 || ^3"
},
"require-dev": {
"phpunit/phpunit": "^5.7.27 || ^6 || ^7 || ^8 || ^9"
"phpunit/phpunit": "^5.7.27 || ^6 || ^7 || ^8 || ^9 || ^10"
},
"archive": {
"exclude": ["/tests"]
Expand Down

0 comments on commit c9fd81b

Please sign in to comment.