Skip to content

Commit

Permalink
[3.x] Support PHP 8 (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikgaal authored Feb 7, 2021
1 parent 3f120d9 commit ed66986
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [7.2, 7.3, 7.4]
php: [7.2, 7.3, 7.4, 8.0]
laravel: [^6.0, ^7.0, ^8.0]
stability: [prefer-lowest, prefer-stable]
exclude:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [7.4]
php: [8.0]

steps:
- name: Checkout code
Expand Down Expand Up @@ -39,6 +39,3 @@ jobs:
- name: Run static analysis
if: ${{ matrix.analyse }}
run: vendor/bin/phpstan analyse

- name: Run tests
run: vendor/bin/phpunit
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
}
],
"require": {
"php": "^7.2",
"php": "^7.2|^8.0",
"ext-json": "*",
"illuminate/support": "^6.0|^7.0|^8.0",
"webonyx/graphql-php": "^0.13.0"
},
"require-dev": {
"fakerphp/faker": "^1.9",
"laravel/legacy-factories": "^1.1",
"mockery/mockery": "^1.3",
"mockery/mockery": "^1.3.2",
"nunomaduro/larastan": "^0.7.0",
"orchestra/testbench": "^4.0|^5.0|^6.0",
"phpunit/phpunit": "^8.0|^9.0"
Expand Down

0 comments on commit ed66986

Please sign in to comment.