Skip to content

Commit e5eca47

Browse files
alielNyholm
authored andcommitted
Allow the bundle to use symfony 2.7 or 2.8 version (#15)
* Allow the bundle to use symfony 2.7 or 2.8 version * [composer.json] Fix logical comparator syntax
1 parent b510e7f commit e5eca47

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ env:
1717
- SYMFONY_VERSION=3.2.*
1818
- SYMFONY_VERSION=3.1.*
1919
- SYMFONY_VERSION=3.0.*
20+
- SYMFONY_VERSION=2.8.*
21+
- SYMFONY_VERSION=2.7.*
2022

2123
branches:
2224
except:
@@ -29,6 +31,8 @@ matrix:
2931
env: SYMFONY_VERSION="3.2.* graphaware/neo4j-php-ogm:^1.0"
3032
- php: 7.0
3133
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci" SYMFONY_VERSION=3.0.*
34+
- php: 7.0
35+
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci" SYMFONY_VERSION=2.7.*
3236

3337
install:
3438
- composer require symfony/symfony:${SYMFONY_VERSION} --no-update

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
"require": {
1818
"php": "^7.0",
1919
"graphaware/neo4j-php-client": "^4.6.4",
20-
"symfony/framework-bundle": "^3.0",
20+
"symfony/framework-bundle": "^2.7 || ^3.0",
2121
"graphaware/neo4j-bolt": "^1.6"
2222
},
2323
"require-dev": {
2424
"phpunit/phpunit": "^5.4",
25-
"symfony/symfony": "^3.0",
25+
"symfony/symfony": "^2.7 || ^3.0",
2626
"matthiasnoback/symfony-dependency-injection-test": "^1.0"
2727
},
2828
"suggest": {

0 commit comments

Comments
 (0)