Skip to content

Commit 17be658

Browse files
committed
minor #11 drop support for PHP < 5.6 (xabbuh)
This PR was merged into the 2.1.x-dev branch. Discussion ---------- drop support for PHP < 5.6 Commits ------- 762c37a drop support for PHP < 5.6
2 parents 2b53f91 + 762c37a commit 17be658

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

.travis.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,17 @@ cache:
66
directories:
77
- $HOME/.composer/cache/files
88

9-
php:
10-
- 5.4
11-
- 5.5
12-
- 5.6
13-
149
matrix:
1510
fast_finish: true
1611
include:
17-
- php: 5.3
18-
dist: precise
12+
- php: 5.6
1913
env: deps="low"
2014
- php: 7.0
2115
env: xdebug="yes"
16+
- php: 7.1
2217

2318
before_install:
24-
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" && "$xdebug" != "yes" ]]; then phpenv config-rm xdebug.ini; fi
19+
- if [[ "$xdebug" != "yes" ]]; then phpenv config-rm xdebug.ini; fi
2520
- composer self-update
2621
- composer require 'phpunit/phpunit:^4.8.35|^5.4.3|^6.0' --dev --no-update
2722

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ CHANGELOG
44
2.1.0
55
-----
66

7+
* dropped support for PHP < 5.6
8+
79
* allow `2.x` releases of the `php-xapi/model` package too
810

911
2.0.0

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.3.0",
15+
"php": "^5.6 || ^7.0",
1616
"php-xapi/model": "^1.0 || ^2.0",
1717
"php-xapi/serializer": "^2.1.1",
1818
"symfony/serializer": "~2.8|~3.0"

0 commit comments

Comments
 (0)