Skip to content

Commit 2cd5067

Browse files
committed
PHP8.1 not maintained anymore, php8.2 and 8.3 are the only versions supported for 2.0 #40
1 parent d0cb3bd commit 2cd5067

2 files changed

Lines changed: 25 additions & 6 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,21 @@ jobs:
1212

1313
runs-on: ubuntu-latest
1414

15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
php-version:
19+
- "8.2"
20+
- "8.3"
21+
1522
steps:
1623
- name: Checkout
1724
uses: actions/checkout@v4
1825

1926
- name: Install PHP
2027
uses: shivammathur/setup-php@v2
2128
with:
22-
php-version: 8.3
29+
php-version: ${{ matrix.php-version }}
2330
extensions: mbstring
2431
coverage: none
2532
tools: none
@@ -38,14 +45,21 @@ jobs:
3845

3946
runs-on: ubuntu-latest
4047

48+
strategy:
49+
fail-fast: false
50+
matrix:
51+
php-version:
52+
- "8.2"
53+
- "8.3"
54+
4155
steps:
4256
- name: Checkout
4357
uses: actions/checkout@v4
4458

4559
- name: Install PHP
4660
uses: shivammathur/setup-php@v2
4761
with:
48-
php-version: 8.3
62+
php-version: ${{ matrix.php-version }}
4963
extensions: mbstring
5064
coverage: none
5165
tools: none
@@ -64,14 +78,21 @@ jobs:
6478

6579
runs-on: ubuntu-latest
6680

81+
strategy:
82+
fail-fast: false
83+
matrix:
84+
php-version:
85+
- "8.2"
86+
- "8.3"
87+
6788
steps:
6889
- name: Checkout
6990
uses: actions/checkout@v4
7091

7192
- name: Install PHP
7293
uses: shivammathur/setup-php@v2
7394
with:
74-
php-version: 8.3
95+
php-version: ${{ matrix.php-version }}
7596
extensions: mbstring
7697
coverage: none
7798
tools: none
@@ -94,10 +115,8 @@ jobs:
94115
fail-fast: false
95116
matrix:
96117
php-version:
97-
- "8.1"
98118
- "8.2"
99119
- "8.3"
100-
- "8.4"
101120

102121
steps:
103122
- name: Checkout

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": ">=8.1"
13+
"php": ">=8.2 <8.4"
1414
},
1515
"require-dev": {
1616
"phpunit/phpunit": "^10.0",

0 commit comments

Comments
 (0)