Skip to content

Commit 434a2fb

Browse files
authored
Merge pull request #23 from BenMorel/php8.1
Compatibility with PHP 8.1
2 parents c1b7f06 + e6f188d commit 434a2fb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: Build and test
1616
strategy:
1717
matrix:
18-
php: [7.3, 7.4, 8.0]
18+
php: [7.3, 7.4, 8.0, 8.1]
1919
deps: [high]
2020
include:
2121
- php: 7.3
@@ -38,7 +38,7 @@ jobs:
3838

3939
# Separate package step until PHP 8.0 is supported
4040
- name: Coding standards
41-
if: matrix.php != '8.0'
41+
if: matrix.php != '8.0' && matrix.php != '8.1'
4242
run: make package
4343

4444
- name: Test & package (min)
@@ -58,7 +58,7 @@ jobs:
5858
needs: tests
5959
strategy:
6060
matrix:
61-
php: [7.3, 7.4, 8.0]
61+
php: [7.3, 7.4, 8.0, 8.1]
6262

6363
steps:
6464
- uses: actions/checkout@v2

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": "^7.3 || ~8.0.0",
13+
"php": "^7.3 || ~8.0.0 || ~8.1.0",
1414
"phpunit/phpunit": "^9.0"
1515
},
1616
"conflict": {

0 commit comments

Comments
 (0)