Skip to content

Commit

Permalink
add PHP 8.3 and 8.4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
someniatko committed Nov 26, 2024
1 parent de3c6d1 commit c00ce81
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,17 @@ jobs:

- name: unit tests
run: php vendor/bin/phpunit

test-84:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: 8.4
tools: composer:v2
coverage: none
- run: composer install -o --ignore-platform-reqs # vimeo/psalm is not supported yet on PHP 8.4

- name: unit tests
run: php vendor/bin/phpunit
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"license": "MIT",
"description": "Functional-ish generic Result type: either Success or Error",
"require": {
"php": "7.4.* || 8.0.* || 8.1.* || 8.2.*"
"php": "7.4.* || 8.0.* || 8.1.* || 8.2.* || 8.3.* || 8.4.*"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
Expand Down

0 comments on commit c00ce81

Please sign in to comment.