Skip to content

Commit 430af0b

Browse files
committed
claim PHP 8.2 support
1 parent a3147f9 commit 430af0b

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
on: [ push, pull_request ]
22
jobs:
3-
test:
3+
test-74:
44
runs-on: ubuntu-22.04
55
steps:
66
- uses: actions/checkout@v3
@@ -20,3 +20,16 @@ jobs:
2020
- name: psalm static analysis
2121
run: php vendor/bin/psalm
2222

23+
test-82:
24+
runs-on: ubuntu-22.04
25+
steps:
26+
- uses: actions/checkout@v3
27+
- uses: shivammathur/setup-php@v2
28+
with:
29+
php-version: 8.2
30+
tools: composer:v2
31+
coverage: none
32+
- run: composer install -o
33+
34+
- name: unit tests
35+
run: php vendor/bin/phpunit

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"license": "MIT",
44
"description": "Functional-ish generic Result type: either Success or Error",
55
"require": {
6-
"php": "7.4.* || 8.0.* || 8.1.*"
6+
"php": "7.4.* || 8.0.* || 8.1.* || 8.2.*"
77
},
88
"require-dev": {
99
"phpunit/phpunit": "^9.5",

0 commit comments

Comments
 (0)