Skip to content

Commit

Permalink
Add support for symfony 5 with symfony/config ...|^5.0
Browse files Browse the repository at this point in the history
by using branch of
as described in Behat/MinkExtension#360
  • Loading branch information
robertfausk committed Sep 21, 2020
1 parent a3c3c97 commit 40354e2
Show file tree
Hide file tree
Showing 7 changed files with 120 additions and 36 deletions.
8 changes: 7 additions & 1 deletion .scenarios.lock/symfony3/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,17 @@
"email": "[email protected]"
}
],
"repositories": [
{
"type": "vcs",
"url": "https://github.com/chadyred/MinkExtension"
}
],
"require": {
"symfony/config": "^3.4",
"php": ">=7.1",
"behat/behat": "^3.0.5",
"behat/mink-extension": "^2.0",
"behat/mink-extension": "dev-upgrade/allow-symony-5 as 2.3",
"robertfausk/mink-panther-driver": "^1.0"
},
"require-dev": {
Expand Down
8 changes: 7 additions & 1 deletion .scenarios.lock/symfony4/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,17 @@
"email": "[email protected]"
}
],
"repositories": [
{
"type": "vcs",
"url": "https://github.com/chadyred/MinkExtension"
}
],
"require": {
"symfony/config": "^4.0",
"php": ">=7.1",
"behat/behat": "^3.0.5",
"behat/mink-extension": "^2.0",
"behat/mink-extension": "dev-upgrade/allow-symony-5 as 2.3",
"robertfausk/mink-panther-driver": "^1.0"
},
"require-dev": {
Expand Down
1 change: 1 addition & 0 deletions .scenarios.lock/symfony5/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vendor
57 changes: 57 additions & 0 deletions .scenarios.lock/symfony5/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"name": "robertfausk/behat-panther-extension",
"type": "behat-extension",
"description": "Symfony Panther extension for Behat",
"keywords": [
"behat",
"symfony",
"panther",
"web",
"test",
"browser",
"gui"
],
"license": "MIT",
"authors": [
{
"name": "Robert Freigang",
"email": "[email protected]"
}
],
"repositories": [
{
"type": "vcs",
"url": "https://github.com/chadyred/MinkExtension"
}
],
"require": {
"symfony/config": "^5.0",
"php": ">=7.1",
"behat/behat": "^3.0.5",
"behat/mink-extension": "dev-upgrade/allow-symony-5 as 2.3",
"robertfausk/mink-panther-driver": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "~7.5",
"matthiasnoback/symfony-config-test": "^4.1",
"g1a/composer-test-scenarios": "^3.0"
},
"autoload": {
"psr-4": {
"Robertfausk\\Behat\\PantherExtension\\": "../../src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "../../tests/"
}
},
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"config": {
"vendor-dir": "../../vendor"
}
}
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ php: [7.1, 7.2, 7.3, 7.4]

matrix:
include:
- php: 7.4
env: 'SCENARIO=symfony5'
- php: 7.4
env: 'symfony3 DEPENDENCIES=lowest'
- php: 7.4
Expand Down
65 changes: 33 additions & 32 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -22,35 +22,36 @@ SOFTWARE.

DEPENDENCY LICENSES:

Name Version License
behat/behat v3.6.1 MIT
behat/gherkin v4.6.2 MIT
behat/mink v1.8.1 MIT
behat/mink-extension 2.3.1 MIT
behat/transliterator v1.3.0 Artistic-1.0
container-interop/container-interop 1.2.0 MIT
php-webdriver/webdriver 1.8.2 MIT
psr/container 1.0.0 MIT
psr/log 1.1.3 MIT
robertfausk/mink-panther-driver v1.0.3 MIT
symfony/browser-kit v5.0.6 MIT
symfony/config v3.4.38 MIT
symfony/console v4.4.6 MIT
symfony/css-selector v5.0.6 MIT
symfony/dependency-injection v4.0.15 MIT
symfony/dom-crawler v5.0.6 MIT
symfony/event-dispatcher v4.4.6 MIT
symfony/event-dispatcher-contracts v1.1.7 MIT
symfony/filesystem v4.4.6 MIT
symfony/http-client v5.0.6 MIT
symfony/http-client-contracts v2.0.1 MIT
symfony/panther v0.7.1 MIT
symfony/polyfill-ctype v1.15.0 MIT
symfony/polyfill-mbstring v1.15.0 MIT
symfony/polyfill-php72 v1.15.0 MIT
symfony/polyfill-php73 v1.15.0 MIT
symfony/process v5.0.6 MIT
symfony/service-contracts v2.0.1 MIT
symfony/translation v4.4.6 MIT
symfony/translation-contracts v2.0.1 MIT
symfony/yaml v5.0.6 MIT
Name Version License
behat/behat v3.7.0 MIT
behat/gherkin v4.6.2 MIT
behat/mink v1.8.1 MIT
behat/mink-extension dev-upgrade/allow-symony-5 e121c2a MIT
behat/transliterator v1.3.0 Artistic-1.0
php-webdriver/webdriver 1.8.2 MIT
psr/container 1.0.0 MIT
psr/log 1.1.3 MIT
robertfausk/mink-panther-driver v1.0.5 MIT
symfony/browser-kit v5.1.5 MIT
symfony/config v3.4.44 MIT
symfony/console v4.4.13 MIT
symfony/css-selector v5.1.5 MIT
symfony/dependency-injection v4.0.15 MIT
symfony/deprecation-contracts v2.2.0 MIT
symfony/dom-crawler v5.1.5 MIT
symfony/event-dispatcher v4.4.13 MIT
symfony/event-dispatcher-contracts v1.1.9 MIT
symfony/filesystem v4.4.13 MIT
symfony/http-client v5.1.5 MIT
symfony/http-client-contracts v2.2.0 MIT
symfony/panther v0.7.1 MIT
symfony/polyfill-ctype v1.18.1 MIT
symfony/polyfill-mbstring v1.18.1 MIT
symfony/polyfill-php72 v1.18.1 MIT
symfony/polyfill-php73 v1.18.1 MIT
symfony/polyfill-php80 v1.18.1 MIT
symfony/process v5.1.5 MIT
symfony/service-contracts v2.2.0 MIT
symfony/translation v4.4.13 MIT
symfony/translation-contracts v2.2.0 MIT
symfony/yaml v5.1.5 MIT
15 changes: 13 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,18 @@
"email": "[email protected]"
}
],
"repositories": [
{
"type": "vcs",
"url": "https://github.com/chadyred/MinkExtension"
}
],
"require": {
"php": ">=7.1",
"behat/behat": "^3.0.5",
"behat/mink-extension": "^2.0",
"behat/mink-extension": "dev-upgrade/allow-symony-5 as 2.3",
"robertfausk/mink-panther-driver": "^1.0",
"symfony/config": "^3.4|^4.0"
"symfony/config": "^3.4|^4.0|^5.0"
},
"require-dev": {
"phpunit/phpunit": "~7.5",
Expand All @@ -45,6 +51,11 @@
"dev-master": "1.0.x-dev"
},
"scenarios": {
"symfony5": {
"require": {
"symfony/config": "^5.0"
}
},
"symfony4": {
"require": {
"symfony/config": "^4.0"
Expand Down

0 comments on commit 40354e2

Please sign in to comment.