Skip to content

Commit 3a05322

Browse files
committed
minor #32 drop PHP < 5.6 support (xabbuh)
This PR was merged into the 0.6.x-dev branch. Discussion ---------- drop PHP < 5.6 support Commits ------- 86bc02a drop PHP < 5.6 support
2 parents 017b1a6 + 86bc02a commit 3a05322

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

.travis.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,15 @@ env:
1111
- deps=""
1212
- COMPOSER_OPTIONS="--prefer-stable"
1313

14-
php:
15-
- 5.5
16-
- 5.6
17-
1814
matrix:
1915
fast_finish: true
2016
include:
21-
- php: 5.4
22-
env: $COMPOSER_OPTIONS="--prefer-lowest --prefer-stable --ignore-platform-reqs"
2317
- php: 5.6
24-
env: PACKAGES="php-http/discovery:^1.0 php-http/guzzle6-adapter:^1.0 php-http/message:^1.0 xabbuh/oauth1-authentication:~1.0"
18+
env: $COMPOSER_OPTIONS="--prefer-lowest --prefer-stable --ignore-platform-reqs"
2519
- php: 7.0
26-
env: xdebug="yes"
20+
env: PACKAGES="php-http/discovery:^1.0 php-http/guzzle6-adapter:^1.0 php-http/message:^1.0 xabbuh/oauth1-authentication:~1.0"
2721
- php: 7.1
22+
env: xdebug="yes"
2823
- php: 7.2
2924

3025
before_install:

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CHANGELOG
44
0.6.0
55
-----
66

7-
* dropped the support for HHVM
7+
* dropped the support for HHVM and for PHP < 5.6
88

99
* updated the `X-Experience-API-Version` header to default to the latest patch
1010
version (`1.0.3`)

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=5.4.0",
15+
"php": "^5.6 || ^7.0",
1616
"php-http/client-common": "^1.0",
1717
"php-http/client-implementation": "^1.0",
1818
"php-http/httplug": "^1.0",

0 commit comments

Comments
 (0)