Skip to content

Commit

Permalink
Add support for PHP 8 (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdnbrk authored Dec 1, 2020
1 parent 81ba4e8 commit 4402345
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.4]
php: [8.0, 7.4]
laravel: [^8.0, ^7.0]
stability: [prefer-lowest, prefer-stable]
include:
Expand Down
15 changes: 8 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,23 @@
}
],
"require": {
"php": "^7.4",
"php": "^7.4 || ^8.0",
"illuminate/console": "^7.2 || ^8.0",
"illuminate/contracts": "^7.2 || ^8.0",
"illuminate/database": "^7.2 || ^8.0",
"illuminate/queue": "^7.2 || ^8.0",
"illuminate/support": "^7.2 || ^8.0",
"mvdnbrk/gtin": "^2.6",
"mvdnbrk/laravel-model-expires": "^1.7",
"mvdnbrk/gtin": "^2.7",
"mvdnbrk/laravel-model-expires": "^1.8",
"spatie/laravel-model-states": "^1.9",
"staudenmeir/eloquent-has-many-deep": "^1.12"
},
"require-dev": {
"laravel/legacy-factories": "^1.0.4",
"nunomaduro/collision": "^4.2 || ^5.0",
"orchestra/testbench": "^5.4 || ^6.0",
"phpunit/phpunit": "^9.3"
"laravel/legacy-factories": "^1.1",
"mockery/mockery": "^1.4",
"nunomaduro/collision": "^4.2 || ^5.1",
"orchestra/testbench": "^5.10 || ^6.5",
"phpunit/phpunit": "^9.4"
},
"config": {
"sort-packages": true
Expand Down

0 comments on commit 4402345

Please sign in to comment.