10000 [Feature] Add support for PHP 8 (#572) · rubinred/laravel-json-api@7787f0a · GitHub
[go: up one dir, main page]

Skip to content

Commit 7787f0a

Browse files
[Feature] Add support for PHP 8 (cloudcreativity#572)
1 parent f9d34aa commit 7787f0a

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
language: php
2-
dist: trusty
2+
dist: xenial
33
sudo: false
44

55
matrix:
66
include:
7-
- php: "7.3"
7+
- php: 7.3
88
env:
99
- LARAVEL_VERSION=^8.0
1010
- PHPUNIT_VERSION=^9.0
11-
- php: "7.4"
11+
- php: 7.4
12+
env:
13+
- LARAVEL_VERSION=^8.0
14+
- PHPUNIT_VERSION=^9.0
15+
- php: 8.0snapshot
1216
env:
1317
- LARAVEL_VERSION=^8.0
1418
- PHPUNIT_VERSION=^9.0

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323
],
2424
"require": {
25-
"php": "^7.3",
25+
"php": "^7.3|^8.0",
2626
"ext-json": "*",
2727
"illuminate/console": "^8.0",
2828
"illuminate/contracts": "^8.0",
@@ -41,7 +41,7 @@
4141
"cloudcreativity/json-api-testing": "^3.1",
4242
"guzzlehttp/guzzle": "^7.0",
4343
"laravel/legacy-factories": "^1.0.4",
44-
"laravel/ui": "^2.0",
44+
"laravel/ui": "^3.0",
4545
"mockery/mockery": "^1.1",
4646
"orchestra/testbench": "^6.0",
4747
"phpunit/phpunit": "^9.0"

0 commit comments

Comments
 (0)
0