Skip to content

Commit a4b2290

Browse files
committed
Expand PHP version support in composer.json and GitHub Actions workflow
1 parent e59c841 commit a4b2290

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
fail-fast: false
99
matrix:
1010
operating-system: [ ubuntu-latest ]
11-
php-versions: [ '7.4', '8.0', '8.1', '8.4' ]
11+
php-versions: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
1212
composer-dependencies: [ '', '--prefer-lowest' ]
1313
extra-label: [ '' ]
1414
include:
@@ -28,6 +28,16 @@ jobs:
2828
operating-system: windows-latest
2929
coverage: xdebug
3030

31+
# Windows
32+
- php-versions: '8.2'
33+
operating-system: windows-latest
34+
coverage: xdebug
35+
36+
# Windows
37+
- php-versions: '8.3'
38+
operating-system: windows-latest
39+
coverage: xdebug
40+
3141
# Windows
3242
- php-versions: '8.4'
3343
operating-system: windows-latest

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}
2525
],
2626
"require": {
27-
"php": "~7.4||~8.0",
27+
"php": "^7.4 || ^8.0",
2828
"ext-curl": "*",
2929
"ext-json": "*",
3030
"ext-mbstring": "*",

0 commit comments

Comments
 (0)