Skip to content

Commit

Permalink
Merge pull request #126 from Behat/sf4
Browse files Browse the repository at this point in the history
Support for Symfony 4
  • Loading branch information
sroze authored Dec 13, 2017
2 parents 4eec9ec + 529f8b3 commit 58ff140
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 18 deletions.
15 changes: 6 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,19 @@ cache:

matrix:
include:
- php: 5.3
env: SYMFONY_VERSION='2.3.*'
dist: precise
- php: 5.5
env: SYMFONY_VERSION='2.7.*'
- php: 5.6
env: SYMFONY_VERSION='2.8.*'
- php: 7.0
env: DEPS=dev SYMFONY_VERSION='3.0.*'
- php: 7.1
env: DEPS=dev SYMFONY_VERSION='3.0.*'
env: SYMFONY_VERSION='3.3.*'
- php: 7.1
env: DEPS=dev SYMFONY_VERSION='3.4.*'
- php: 7.1
env: DEVS=dev SYMFONY_VERSION='4.0.*'
allow_failures:
- php: 7.0
env: SYMFONY_VERSION='3.0.*'
- php: 7.1
env: SYMFONY_VERSION='3.0.*'
env: SYMFONY_VERSION='4.0.x-dev'

before_install:
- composer self-update
Expand Down
13 changes: 7 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@

"require": {
"php": ">=5.3.3",
"behat/behat": "~3.0,>=3.0.4",
"symfony/framework-bundle": "~2.0|~3.0"
"behat/behat": "^3.4.3",
"symfony/framework-bundle": "~2.0|~3.0|~4.0"
},

"require-dev": {
"symfony/symfony": "~2.1|~3.0",
"symfony/symfony": "~2.1|~3.0|~4.0",
"behat/mink-extension": "~2.0",
"behat/mink-browserkit-driver": "~1.0",
"phpspec/phpspec": "~2.0",
"phpunit/phpunit": "~4.0"
"behat/mink": "~1.7@dev",
"behat/mink-browserkit-driver": "~1.3@dev",
"phpspec/phpspec": "~2.0|~3.0|~4.0",
"phpunit/phpunit": "~4.0|~5.0"
},

"autoload": {
Expand Down
3 changes: 1 addition & 2 deletions testapp/app/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ framework:
form: true
validation: { enable_annotations: true }
default_locale: en
trusted_proxies: ~
session: ~

parameters:
custom_app: 'behat-test-app'
collection_param:
- 'Param 1'
- 'Param 2'
- 'Param 2'
1 change: 0 additions & 1 deletion testapp/behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ default:
session: '@session'
services:
- '@session'
- '@session.storage.filesystem'
params:
- "%%kernel.root_dir%%"
- "%%kernel.environment%%"
Expand Down

0 comments on commit 58ff140

Please sign in to comment.