Skip to content

Commit d2ed8b7

Browse files
committed
allow PHP 8
1 parent 6dab5c7 commit d2ed8b7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ matrix:
1717
- php: 7.2
1818
- php: 7.3
1919
- php: 7.4
20+
- php: nightly
21+
env: COMPOSER_OPTIONS="--ignore-platform-reqs"
2022

2123
before_install:
22-
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" && "$xdebug" != "yes" ]]; then phpenv config-rm xdebug.ini; fi
24+
- if [[ "$TRAVIS_PHP_VERSION" != "nightly" && "$xdebug" != "yes" ]]; then phpenv config-rm xdebug.ini; fi
2325
- composer self-update
2426

2527
install:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
],
1313
"require": {
14-
"php": "^5.6 || ^7.0",
14+
"php": "^5.6 || ^7.0 || ^8.0",
1515
"api-clients/psr7-oauth1": "^2.0 || ^1.0",
1616
"php-http/message": "^1.0"
1717
},

0 commit comments

Comments
 (0)