Skip to content

Commit 4f78ff1

Browse files
committed
add support php 8.2
1 parent bad1d0d commit 4f78ff1

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

.github/workflows/phpunit.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,21 @@ jobs:
1111
name: unit tests
1212
runs-on: ubuntu-latest
1313

14+
strategy:
15+
matrix:
16+
php-versions: [ 8.1, 8.2 ]
17+
1418
steps:
1519
- uses: actions/checkout@v3
1620
- uses: php-actions/composer@v6
17-
with:
18-
version: 2
1921

20-
- name: phpunit tests
22+
- name: phpunit tests ${{ matrix.php-versions }}
2123
uses: php-actions/phpunit@v3
2224
with:
23-
configuration: ./test/phpunit.xml
25+
configuration: test/phpunit.xml
2426
php_extensions: pcov
27+
php_version: ${{ matrix.php-versions }}
28+
version: 9.5
2529

2630
- name: coverage monitor
2731
uses: slavcodev/[email protected]

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"minimum-stability": "stable",
2626
"require": {
27-
"php": "^8.1",
27+
"php": ">=8.1",
2828
"psr/container": "^2.0",
2929
"alexpts/php-hydrator": "^5.0"
3030
},

composer.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)