Skip to content

Commit

Permalink
FIX: Relax Symfony version constraint (#10)
Browse files Browse the repository at this point in the history
Fixes #8
  • Loading branch information
Sam Minnée authored Sep 10, 2020
1 parent 82dcde7 commit b6319c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
matrix:
include:
- php: 7.2
env: DB=MYSQL FRAMEWORK_VERSION=4.5.1 PHPUNIT_TEST=1
env: DB=MYSQL SYMFONY_VERSION=^4 FRAMEWORK_VERSION=4.5.1 PHPUNIT_TEST=1
- php: 7.3
env: DB=MYSQL FRAMEWORK_VERSION=4.x-dev PHPUNIT_TEST=1 PHPCS_TEST=1

Expand All @@ -20,6 +20,7 @@ before_script:

- composer validate
- composer require --no-update silverstripe/framework:"$FRAMEWORK_VERSION"
- if [[ $SYMFONY_VERSION ]]; then composer require --no-update symfony/event-dispatcher:$SYMFONY_VERSION; fi
- composer install --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile

script:
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"license": "BSD-3-Clause",
"require": {
"silverstripe/framework": "^4.5.1",
"symfony/event-dispatcher": "^5.0",
"symfony/event-dispatcher": "^4 || ^5",
"psr/event-dispatcher": "^1",
"php": "^7.2"
},
"require-dev": {
Expand Down

0 comments on commit b6319c5

Please sign in to comment.