Skip to content

Commit

Permalink
Merge pull request #641 from Basster/phpunit-11
Browse files Browse the repository at this point in the history
Add Phpunit 11 support
  • Loading branch information
alexislefebvre authored Jul 18, 2024
2 parents 1ccaaae + 9621fb0 commit 395eb2a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,36 @@ jobs:
php-version: ['8.1', '8.2', '8.3']
composer-flags: ['']
symfony-version: ['^6.4']
phpunit-version: ['^9.6']
include:
- php-version: 7.4
symfony-version: "^5.4"
phpunit-version: '^9.6'
composer-flags: "--prefer-lowest"
- php-version: 8.1
symfony-version: "^5.4"
phpunit-version: "^10.0"
- php-version: 8.1
symfony-version: "^6.4"
phpunit-version: "^10.0"
- php-version: 8.2
symfony-version: "^6.4"
phpunit-version: "^10.0"
- php-version: 8.2
symfony-version: "^7.0"
phpunit-version: "^10.0"
- php-version: 8.3
symfony-version: "^7.0"
phpunit-version: "^10.0"
- php-version: 8.2
symfony-version: "^6.4"
phpunit-version: "^11.0"
- php-version: 8.2
symfony-version: "^7.0"
phpunit-version: "^11.0"
- php-version: 8.3
symfony-version: "^7.0"
phpunit-version: "^11.0"

steps:
- name: Checkout
Expand Down Expand Up @@ -65,6 +81,7 @@ jobs:
symfony/twig-bundle=${{ matrix.symfony-version }}
symfony/validator=${{ matrix.symfony-version }}
symfony/yaml=${{ matrix.symfony-version }}
phpunit/phpunit=${{ matrix.phpunit-version }}
# This is needed to fix builds where the `annotation_reader` service may not be set up if
# the Annotations package is not in the production dependencies
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"require": {
"php": "^7.4 || ^8.0",
"phpunit/phpunit": "^9.6 || ^10.0",
"phpunit/phpunit": "^9.6 || ^10.0 || ^11.0",
"symfony/browser-kit": "^5.4 || ^6.4 || ^7.0",
"symfony/framework-bundle": "^5.4 || ^6.4 || ^7.0"
},
Expand Down

0 comments on commit 395eb2a

Please sign in to comment.