Skip to content

Commit 384fcba

Browse files
authored
Merge pull request #275 from fbourigault/symfony-4
Allow symfony/options-resolver ^4.0
2 parents 35ecf9b + 1ef510c commit 384fcba

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,17 @@ php:
66
- 5.6
77
- 7.0
88
- 7.1
9+
- 7.2
910

1011
matrix:
12+
# test latest PHP stable version with lowest dependencies and phpstan static analysis
1113
include:
12-
- php: 7.2
13-
env: STATIC_ANALYSIS=yes
14+
- php: 7.1
15+
env: COMPOSER_FLAGS="--prefer-lowest" STATIC_ANALYSIS=yes
1416

1517
before_script:
1618
- travis_retry composer self-update
17-
- travis_retry composer install --no-interaction --prefer-source
19+
- travis_retry composer update --no-interaction ${COMPOSER_FLAGS}
1820
- if [ "$STATIC_ANALYSIS" != "" ]; then curl -L https://github.com/phpstan/phpstan/releases/download/0.8/phpstan.phar -o phpstan.phar; fi;
1921

2022
script:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"php-http/discovery": "^1.2",
2929
"php-http/httplug": "^1.1",
3030
"php-http/multipart-stream-builder": "^1.0",
31-
"symfony/options-resolver": "^2.6 || ^3.0"
31+
"symfony/options-resolver": "^2.6 || ^3.0 || ^4.0"
3232
},
3333
"require-dev": {
3434
"guzzlehttp/psr7": "^1.2",

0 commit comments

Comments
 (0)