Skip to content

Commit

Permalink
add support for phpunit 11
Browse files Browse the repository at this point in the history
  • Loading branch information
Baptouuuu committed Nov 30, 2024
1 parent d61bbb4 commit 58de78e
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 3 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,33 @@ jobs:
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
phpunit_11:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
php-version: ['8.2', '8.3']
dependency-versions: ['lowest', 'highest']
name: 'PHPUnit 11'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, intl
coverage: xdebug
- name: Composer
uses: "ramsey/composer-install@v3"
with:
dependency-versions: ${{ matrix.dependencies }}
composer-options: '--no-dev'
- name: PHPUnit
run: vendor/bin/phpunit --fail-on-risky --coverage-clover=coverage.clover
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
psalm:
runs-on: ubuntu-latest
strategy:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [Unreleased]

### Added

- Support for PHPUnit 11

## 5.9.0 - 2024-11-29

### Added
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"php": "~8.2",
"innmind/json": "^1.1",
"symfony/var-dumper": "~6.0|~7.0",
"phpunit/phpunit": "~10.0",
"phpunit/php-timer": "^6.0",
"phpunit/php-code-coverage": "^10.1"
"phpunit/phpunit": "~10.0|~11.0",
"phpunit/php-timer": "~6.0|~7.0",
"phpunit/php-code-coverage": "~10.1|~11.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 58de78e

Please sign in to comment.