Skip to content

Commit 5a86390

Browse files
committed
Add support for PHP 8
1 parent d04adf8 commit 5a86390

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Diff for: .travis.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
dist: trusty
21
language: php
32

43
php:
5-
- 7.1
64
- 7.2
75
- 7.3
86
- 7.4
7+
- 8.0
98

109
## Cache composer
1110
cache:
@@ -14,7 +13,7 @@ cache:
1413

1514
matrix:
1615
include:
17-
- php: 7.1
16+
- php: 7.2
1817
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
1918

2019
before_script:

Diff for: composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323
],
2424
"require": {
25-
"php": "^7.1",
25+
"php": "^7.2|^8.0",
2626
"danielstjules/stringy": "^3.1",
2727
"php-http/discovery": "^1.4",
2828
"php-http/mock-client": "^1.2",
@@ -31,7 +31,7 @@
3131
"require-dev": {
3232
"friendsofphp/php-cs-fixer": "^2.17",
3333
"guzzlehttp/guzzle": "^7.3",
34-
"phpunit/phpunit": "^7.0|^8.0"
34+
"phpunit/phpunit": "^8.0|^9.0"
3535
},
3636
"provide": {
3737
"php-http/async-client-implementation": "1.0",

0 commit comments

Comments
 (0)