Skip to content

Commit

Permalink
Merge pull request #46 from WyriHaximus/add-php-8-support
Browse files Browse the repository at this point in the history
Add PHP 8 support
  • Loading branch information
WyriHaximus authored Nov 25, 2020
2 parents e651cf4 + 04970d5 commit d01d59a
Show file tree
Hide file tree
Showing 4 changed files with 877 additions and 425 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [7.4]
php: [7.4, 8.0-rc]
composer: [lowest, current, highest]
needs: lint
runs-on: ubuntu-latest
container:
image: wyrihaximusnet/php:${{ matrix.php }}-zts-alpine3.11-dev-root
image: wyrihaximusnet/php:${{ matrix.php }}-nts-alpine3.12-dev-root
steps:
- uses: actions/checkout@v1
- name: Cache composer packages
Expand All @@ -38,13 +38,13 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [7.4]
php: [7.4, 8.0-rc]
composer: [lowest, current, highest]
qa: [lint, cs, stan, psalm, unit-ci, infection, composer-require-checker, composer-unused, backward-compatibility-check]
qa: [lint, cs, stan, psalm, unit, infection, composer-require-checker, composer-unused, backward-compatibility-check]
needs: composer-install
runs-on: ubuntu-latest
container:
image: wyrihaximusnet/php:${{ matrix.php }}-zts-alpine3.11-dev-root
image: wyrihaximusnet/php:${{ matrix.php }}-nts-alpine3.12-dev-root
steps:
- uses: actions/checkout@v1
- name: Cache composer packages
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
}
],
"require": {
"php": "^7.4",
"php": "^8 || ^7.4",
"doctrine/instantiator": "^1.0.5",
"thecodingmachine/safe": "^1.1",
"wyrihaximus/json-utilities": "^1.2"
},
"require-dev": {
"wyrihaximus/test-utilities": "^2.5"
"wyrihaximus/test-utilities": "^3.3.1"
},
"config": {
"platform": {
Expand Down
Loading

0 comments on commit d01d59a

Please sign in to comment.