Skip to content

Commit ffcac1f

Browse files
dnahrebeckidkarlovi
authored andcommitted
Adding 4.0 to symfony dependencies
1 parent 504530d commit ffcac1f

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ matrix:
2323
env: SYMFONY_VERSION=2.8.*
2424
- php: 5.6
2525
env: SYMFONY_VERSION=3.0.* COVERAGE=true
26+
# test the latest release (including beta releases)
27+
- php: 7.1
28+
env: DEPENDENCIES=beta
2629
allow_failures:
2730
- php: hhvm
2831
- php: 7.0
@@ -32,6 +35,7 @@ cache:
3235
- $HOME/.composer/cache/files
3336

3437
before_script:
38+
- if [ "$DEPENDENCIES" = "beta" ]; then composer config minimum-stability beta; fi;
3539
- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then phpenv config-rm xdebug.ini; fi;
3640
- echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
3741
- composer self-update

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
"require": {
1919
"php": "^5.3.3|^7.0",
2020
"friendsofsymfony/oauth2-php": "~1.1",
21-
"symfony/framework-bundle": "~2.2|~3.0",
22-
"symfony/security-bundle": "~2.1|~3.0",
23-
"symfony/dependency-injection": "^2.0.5|~3.0"
21+
"symfony/framework-bundle": "~2.2|~3.0|^4.0",
22+
"symfony/security-bundle": "~2.1|~3.0|^4.0",
23+
"symfony/dependency-injection": "^2.0.5|~3.0|^4.0"
2424
},
2525
"require-dev": {
26-
"symfony/class-loader": "~2.1|~3.0",
27-
"symfony/yaml": "~2.1|~3.0",
28-
"symfony/form": "~2.3|~3.0",
29-
"symfony/console": "~2.1|~3.0",
26+
"symfony/class-loader": "~2.1|~3.0|^4.0",
27+
"symfony/yaml": "~2.1|~3.0|^4.0",
28+
"symfony/form": "~2.3|~3.0|^4.0",
29+
"symfony/console": "~2.1|~3.0|^4.0",
3030
"willdurand/propel-typehintable-behavior": "^1.0.4",
3131
"propel/propel1": "^1.6.5",
3232
"phing/phing": "~2.4",

0 commit comments

Comments
 (0)