Skip to content

Commit dce46df

Browse files
authored
Merge pull request #21 from WyriHaximus/add-php-8-support
Add PHP 8 support
2 parents a00d41e + 407578f commit dce46df

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
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: [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: [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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}
1010
],
1111
"require": {
12-
"php": "^7.4",
12+
"php": "^8 || ^7.4",
1313
"thecodingmachine/safe": "^1.1"
1414
},
1515
"require-dev": {

composer.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)