Skip to content

Commit 11fe5c3

Browse files
committed
Add PHP 8 support
1 parent e651cf4 commit 11fe5c3

File tree

4 files changed

+876
-424
lines changed

4 files changed

+876
-424
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
php: [7.4]
15+
php: [7.4, 8.0-rc]
1616
composer: [lowest, current, highest]
1717
needs: lint
1818
runs-on: ubuntu-latest
1919
container:
20-
image: wyrihaximusnet/php:${{ matrix.php }}-zts-alpine3.11-dev-root
20+
image: wyrihaximusnet/php:${{ matrix.php }}-nts-alpine3.11-dev-root
2121
steps:
2222
- uses: actions/checkout@v1
2323
- name: Cache composer packages
@@ -38,13 +38,13 @@ jobs:
3838
strategy:
3939
fail-fast: false
4040
matrix:
41-
php: [7.4]
41+
php: [7.4, 8.0-rc]
4242
composer: [lowest, current, highest]
4343
qa: [lint, cs, stan, psalm, unit-ci, infection, composer-require-checker, composer-unused, backward-compatibility-check]
4444
needs: composer-install
4545
runs-on: ubuntu-latest
4646
container:
47-
image: wyrihaximusnet/php:${{ matrix.php }}-zts-alpine3.11-dev-root
47+
image: wyrihaximusnet/php:${{ matrix.php }}-nts-alpine3.11-dev-root
4848
steps:
4949
- uses: actions/checkout@v1
5050
- name: Cache composer packages

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
}
1010
],
1111
"require": {
12-
"php": "^7.4",
12+
"php": "^8 || ^7.4",
1313
"doctrine/instantiator": "^1.0.5",
1414
"thecodingmachine/safe": "^1.1",
1515
"wyrihaximus/json-utilities": "^1.2"
1616
},
1717
"require-dev": {
18-
"wyrihaximus/test-utilities": "^2.5"
18+
"wyrihaximus/test-utilities": "^3.3.1"
1919
},
2020
"config": {
2121
"platform": {

0 commit comments

Comments
 (0)