Skip to content

Commit

Permalink
Add Symfony 5 support (#1008)
Browse files Browse the repository at this point in the history
  • Loading branch information
koenreiniers authored and theofidry committed Dec 4, 2019
1 parent 544b338 commit 4a8d15e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,11 @@ matrix:
- php: '7.2'
env: SYMFONY_VERSION='~3.4.0'
- php: '7.2'
env: SYMFONY_VERSION='~4.0.0'
env: SYMFONY_VERSION='~4.4.0'
- php: '7.2'
env: SYMFONY_VERSION='~4.1.0@dev'
env: SYMFONY_VERSION='~5.0.0'
allow_failures:
- php: nightly
- env: SYMFONY_VERSION='~4.1.0@dev'

before_install:
- set -eo pipefail
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
"php": "^7.1",
"fzaninotto/faker": "^1.6",
"myclabs/deep-copy": "^1.5.2",
"sebastian/comparator": "^3.0",
"symfony/property-access": "^2.8 || ^3.4 || ^4.0",
"symfony/yaml": "^2.8 || ^3.4 || ^4.0"
"sebastian/comparator": "^3.0",
"symfony/property-access": "^2.8 || ^3.4 || ^4.0 || ^5.0",
"symfony/yaml": "^2.8 || ^3.4 || ^4.0 || ^5.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.1.0",
"php-mock/php-mock": "^2.0",
"phpspec/prophecy": "^1.6",
"phpunit/phpunit": "^7.0",
"symfony/phpunit-bridge": "^3.4.5 || ^4.0.5",
"symfony/var-dumper": "^3.4 || ^4.0"
"symfony/phpunit-bridge": "^3.4.5 || ^4.0.5 || ^5.0",
"symfony/var-dumper": "^3.4 || ^4.0 || ^5.0"
},
"conflict": {
"symfony/framework-bundle": "<3.4"
Expand Down
2 changes: 2 additions & 0 deletions fixtures/Bridge/Symfony/Application/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

framework:
secret: NelmioAliceBundleSecret
serializer:
enabled: true
router:
resource: ~
strict_requirements: '%kernel.debug%'
Expand Down
2 changes: 2 additions & 0 deletions fixtures/Bridge/Symfony/Application/config_custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

framework:
secret: NelmioAliceBundleSecret
serializer:
enabled: true
router:
resource: ~
strict_requirements: '%kernel.debug%'
Expand Down

0 comments on commit 4a8d15e

Please sign in to comment.