Skip to content

Commit 727ddd6

Browse files
committed
PHP8 support
1 parent dd8615e commit 727ddd6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
php: [7.4]
19+
php: [7.4, 8.0]
2020
dependencies: [locked]
2121

2222
steps:
@@ -69,7 +69,7 @@ jobs:
6969

7070
strategy:
7171
matrix:
72-
php: [7.4]
72+
php: [7.4,8.0]
7373

7474
dependencies: [locked]
7575

@@ -127,7 +127,7 @@ jobs:
127127

128128
strategy:
129129
matrix:
130-
php: [7.4]
130+
php: [7.4, 8.0]
131131

132132
dependencies:
133133
- "lowest"
@@ -178,7 +178,7 @@ jobs:
178178

179179
strategy:
180180
matrix:
181-
php: [7.4]
181+
php: [7.4, 8.0]
182182

183183
dependencies:
184184
- "locked"
@@ -232,7 +232,7 @@ jobs:
232232

233233
strategy:
234234
matrix:
235-
php: [7.4]
235+
php: [7.4, 8.0]
236236

237237
dependencies:
238238
- "locked"
@@ -272,4 +272,4 @@ jobs:
272272
run: "composer update --no-interaction --no-progress --no-suggest"
273273

274274
- name: "Run mutation tests with pcov and infection/infection"
275-
run: "vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=${{ env.MIN_COVERED_MSI }} --min-msi=${{ env.MIN_MSI }}"
275+
run: "vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=${{ env.MIN_COVERED_MSI }} --min-msi=${{ env.MIN_MSI }}"

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^7.4",
13+
"php": ">=7.4",
1414
"ext-json": "*",
1515
"cebe/php-openapi": "^1.4",
1616
"fakerphp/faker": "^1.10",
17-
"league/openapi-psr7-validator": "^0.12",
17+
"league/openapi-psr7-validator": "^0.12 || ^0.14",
1818
"thecodingmachine/safe": "^1.1"
1919
},
2020
"require-dev": {

0 commit comments

Comments
 (0)