Skip to content

Commit 00189de

Browse files
committed
add support php 8.2
1 parent a57bbf3 commit 00189de

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

Diff for: .github/workflows/phpunit.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,21 @@ jobs:
1313
name: unit tests
1414
runs-on: ubuntu-latest
1515

16+
strategy:
17+
matrix:
18+
php-versions: [ 8.1, 8.2 ]
19+
1620
steps:
1721
- uses: actions/checkout@v3
1822
- uses: php-actions/composer@v6
19-
with:
20-
version: 2
2123

22-
- name: phpiunit tests
24+
- name: phpunit tests ${{ matrix.php-versions }}
2325
uses: php-actions/phpunit@v3
2426
with:
25-
configuration: ./test/phpunit.xml
27+
configuration: test/phpunit.xml
2628
php_extensions: pcov
29+
php_version: ${{ matrix.php-versions }}
30+
version: 9.5
2731

2832
- name: coverage monitor
2933
uses: slavcodev/[email protected]

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"minimum-stability": "stable",
2121
"require": {
22-
"php": "^8.1",
22+
"php": ">=8.1",
2323
"ext-json": "*",
2424
"symfony/dependency-injection": "^6.2",
2525
"symfony/yaml": "^6.2",

Diff for: 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)