Skip to content

Commit 32644df

Browse files
authored
Merge pull request #151 from Nyholm/patch-php70
Drop PHP7.0
2 parents eca0b8f + 4a55deb commit 32644df

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

.travis.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ cache:
66
- $HOME/.composer/cache/files
77

88
php:
9-
- 7.0
109
- 7.1
1110
- 7.2
1211
- 7.3
@@ -16,18 +15,16 @@ matrix:
1615

1716
jobs:
1817
include:
19-
- php: 7.0
18+
- php: 7.1
2019
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
2120
- php: 7.2
22-
env: COVERAGE=true DEPENDENCIES="leanphp/phpspec-code-coverage"
21+
env: COVERAGE=true DEPENDENCIES="leanphp/phpspec-code-coverage phpspec/phpspec:^4.2"
2322
script:
2423
- composer test-ci
2524
after_success:
2625
- wget https://scrutinizer-ci.com/ocular.phar
2726
- php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml --revision=$TRAVIS_COMMIT
2827
# Test LTS versions
29-
- php: 7.2
30-
env: DEPENDENCIES="dunglas/symfony-lock:^2"
3128
- php: 7.2
3229
env: DEPENDENCIES="dunglas/symfony-lock:^3"
3330
- php: 7.2

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@
1111
}
1212
],
1313
"require": {
14-
"php": "^7.0",
14+
"php": "^7.1",
1515
"php-http/httplug": "^2.0",
1616
"php-http/message-factory": "^1.0",
1717
"php-http/message": "^1.6",
18-
"symfony/options-resolver": "^2.6 || ^3.0 || ^4.0"
18+
"symfony/options-resolver": " ^3.4.20 || ^4.0.15 || ^4.1.9 || ^4.2.1"
1919
},
2020
"require-dev": {
21-
"doctrine/instantiator": ">=1.0.5",
21+
"doctrine/instantiator": "^1.1",
2222
"guzzlehttp/psr7": "^1.4",
23-
"phpspec/phpspec": "^3.4 || ^4.2",
24-
"phpspec/prophecy": ">=1.8",
25-
"sebastian/comparator": ">=2"
23+
"phpspec/phpspec": "^5.1",
24+
"phpspec/prophecy": "^1.8",
25+
"sebastian/comparator": "^3.0"
2626
},
2727
"suggest": {
2828
"ext-json": "To detect JSON responses with the ContentTypePlugin",

0 commit comments

Comments
 (0)