Skip to content

Commit a715c8a

Browse files
committed
PHP 7.2 compatibility
1 parent 99dd633 commit a715c8a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ cache:
99
env:
1010
global:
1111
- deps=""
12+
- COMPOSER_OPTIONS="--prefer-stable"
1213

1314
php:
1415
- 5.5
@@ -18,11 +19,13 @@ matrix:
1819
fast_finish: true
1920
include:
2021
- php: 5.4
21-
env: $COMPOSER_OPTIONS="--prefer-lowest --ignore-platform-reqs"
22+
env: $COMPOSER_OPTIONS="--prefer-lowest --prefer-stable --ignore-platform-reqs"
2223
- php: 5.6
2324
env: PACKAGES="php-http/discovery:^1.0 php-http/guzzle6-adapter:^1.0 php-http/message:^1.0 xabbuh/oauth1-authentication:~1.0"
2425
- php: 7.0
2526
env: xdebug="yes"
27+
- php: 7.1
28+
- php: 7.2
2629

2730
before_install:
2831
- if [[ "$xdebug" != "yes" ]]; then phpenv config-rm xdebug.ini; fi

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"php-http/httplug": "^1.0",
1919
"php-http/message": "^1.0",
2020
"php-http/message-factory": "^1.0",
21-
"php-xapi/exception": "^0.1.0",
22-
"php-xapi/model": "^1.0 || ^2.0",
21+
"php-xapi/exception": "^0.1 || ^0.2",
22+
"php-xapi/model": "^1.0 || ^2.0 || ^3.0",
2323
"php-xapi/serializer": "^2.0",
2424
"php-xapi/serializer-implementation": "^2.0",
2525
"php-xapi/symfony-serializer": "^2.0",

0 commit comments

Comments
 (0)