Skip to content

Commit c00ce81

Browse files
committed
add PHP 8.3 and 8.4 support
1 parent de3c6d1 commit c00ce81

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,17 @@ jobs:
3333

3434
- name: unit tests
3535
run: php vendor/bin/phpunit
36+
37+
test-84:
38+
runs-on: ubuntu-22.04
39+
steps:
40+
- uses: actions/checkout@v3
41+
- uses: shivammathur/setup-php@v2
42+
with:
43+
php-version: 8.4
44+
tools: composer:v2
45+
coverage: none
46+
- run: composer install -o --ignore-platform-reqs # vimeo/psalm is not supported yet on PHP 8.4
47+
48+
- name: unit tests
49+
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.* || 8.2.*"
6+
"php": "7.4.* || 8.0.* || 8.1.* || 8.2.* || 8.3.* || 8.4.*"
77
},
88
"require-dev": {
99
"phpunit/phpunit": "^9.5",

0 commit comments

Comments
 (0)