Skip to content

Commit 2519da1

Browse files
committed
Add PHP 8 support
1 parent a519b6d commit 2519da1

File tree

4 files changed

+741
-1303
lines changed

4 files changed

+741
-1303
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
php: [7.4]
27+
php: [7.4, 8.0-rc]
2828
composer: [lowest, current, highest]
2929
needs: lint
3030
runs-on: ubuntu-latest
3131
container:
32-
image: wyrihaximusnet/php:${{ matrix.php }}-zts-alpine3.12-dev-root
32+
image: wyrihaximusnet/php:${{ matrix.php }}-nts-alpine3.12-dev-root
3333
steps:
3434
- uses: actions/checkout@v1
3535
- name: Cache composer packages
@@ -50,15 +50,15 @@ jobs:
5050
strategy:
5151
fail-fast: false
5252
matrix:
53-
php: [7.4]
53+
php: [7.4, 8.0-rc]
5454
composer: [lowest, current, highest]
5555
check: ${{ fromJson(needs.generate-checks-strategy.outputs.check) }}
5656
needs:
5757
- composer-install
5858
- generate-checks-strategy
5959
runs-on: ubuntu-latest
6060
container:
61-
image: wyrihaximusnet/php:${{ matrix.php }}-zts-alpine3.12-dev-root
61+
image: wyrihaximusnet/php:${{ matrix.php }}-nts-alpine3.12-dev-root
6262
steps:
6363
- uses: actions/checkout@v1
6464
- name: Cache composer packages

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
}
1010
],
1111
"require": {
12-
"php": "^7.4",
12+
"php": "^8 || ^7.4",
1313
"clue/block-react": "^1.4",
1414
"phpunit/phpunit": "^9.4",
1515
"react/event-loop": "^1.1",
1616
"react/promise": "^2.8",
17-
"wyrihaximus/test-utilities": "^3.1"
17+
"wyrihaximus/test-utilities": "^3.3"
1818
},
1919
"require-dev": {
2020
"wyrihaximus/iterator-or-array-to-array": "^1.1"

0 commit comments

Comments
 (0)