Skip to content

Commit

Permalink
Drop support for php versions before 7.1 so that we can continue to u…
Browse files Browse the repository at this point in the history
…se Box 3.
  • Loading branch information
greg-1-anderson committed Sep 30, 2018
1 parent af685f3 commit 2fba335
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 179 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ matrix:
env: DEPENCENCIES=highest
- php: 7.2
- php: 7.1
- php: 7.0.11
- php: 5.6
env: SCENARIO=phpunit5
- php: 5.6
env: SCENARIO=phpunit5 DEPENDENCIES=lowest
env: DEPENDENCIES=lowest
sudo: false
cache:
directories:
Expand Down
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
},
"require": {
"php": ">=5.6.33"
"php": ">=7.1"
},
"require-dev": {
"consolidation/Robo": "^1.2.3",
Expand All @@ -33,7 +33,7 @@
"scripts": {
"phar:install-tools": [
"mkdir -p tools",
"curl -L https://github.com/humbug/box/releases/download/2.7.5/box.phar -o tools/box",
"curl -L https://github.com/humbug/box/releases/download/3.0.0/box.phar -o tools/box",
"chmod +x tools/box"
],
"cs": "phpcs --standard=PSR2 -n src",
Expand All @@ -53,15 +53,14 @@
],
"scenario": "scenarios/install",
"post-update-cmd": [
"create-scenario phpunit5 'phpunit/phpunit:^5.7.27' --platform-php '5.6.33'",
"dependency-licenses"
]
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "5.6.33"
"php": "7.1.13"
}
},
"extra": {
Expand Down
Loading

0 comments on commit 2fba335

Please sign in to comment.