Skip to content

Commit 6fd5b70

Browse files
committed
drop the unsupported PHP versions (7.4, 8.0, 8.1)
1 parent da2e546 commit 6fd5b70

File tree

3 files changed

+5
-18
lines changed

3 files changed

+5
-18
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
on: [ push, pull_request ]
22
jobs:
3-
test-74:
3+
test-82:
44
runs-on: ubuntu-22.04
55
steps:
66
- uses: actions/checkout@v3
77
- uses: shivammathur/setup-php@v2
88
with:
9-
php-version: 7.4
9+
php-version: 8.2
1010
tools: composer:v2
1111
coverage: none
12+
1213
- run: composer install -o
1314

1415
- name: unit tests
@@ -20,20 +21,6 @@ jobs:
2021
- name: psalm static analysis
2122
run: php vendor/bin/psalm
2223

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
36-
3724
test-84:
3825
runs-on: ubuntu-22.04
3926
steps:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Works best with [`someniatko/result-type-psalm-plugin`][psalm-plugin]!
1717

1818

1919
## Installation
20-
This library requires PHP 7.4, 8.0, 8.1, 8.2, 8.3, 8.4.
20+
This library requires PHP 8.2, 8.3 or 8.4.
2121
You can install it via Composer:
2222

2323
```shell

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.* || 8.3.* || 8.4.*"
6+
"php": "8.2.* || 8.3.* || 8.4.*"
77
},
88
"require-dev": {
99
"phpunit/phpunit": "^9.5",

0 commit comments

Comments
 (0)