refactor #100 Add support for Symfony 4.4 and 5.0; remove for 4.2 and 4.3 (pamil)
This PR was merged into the 2.1-dev branch.
Discussion
----------
Waiting for Behat to support Symfony 5.
Commits
-------
fbe3fb6c5e Add support for Symfony 4.4 and 5.0; remove for 4.2 and 4.3
This commit is contained in:
13
.travis.yml
13
.travis.yml
@@ -7,9 +7,18 @@ php:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
- SYMFONY_VERSION=3.4.*
|
- SYMFONY_VERSION=3.4.*
|
||||||
- SYMFONY_VERSION=4.2.*
|
|
||||||
- SYMFONY_VERSION=4.3.*
|
|
||||||
- SYMFONY_VERSION=4.4.*
|
- SYMFONY_VERSION=4.4.*
|
||||||
|
- SYMFONY_VERSION=5.0.*
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
exclude:
|
||||||
|
-
|
||||||
|
php: '7.1'
|
||||||
|
env: SYMFONY_VERSION=5.0.*
|
||||||
|
allow_failures:
|
||||||
|
-
|
||||||
|
env: SYMFONY_VERSION=5.0.*
|
||||||
|
fast_finish: true
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<h1 align="center">SymfonyExtension</h1>
|
<h1 align="center">SymfonyExtension</h1>
|
||||||
|
|
||||||
This Behat extension provides an integration with Symfony (both `^3.4` and `^4.3`) and Mink driver for Symfony application.
|
This Behat extension provides an integration with Symfony (both `^3.4`, `^4.3` and `^5.0`) and Mink driver for Symfony application.
|
||||||
|
|
||||||
It allows for:
|
It allows for:
|
||||||
|
|
||||||
|
|||||||
@@ -13,9 +13,9 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1",
|
"php": "^7.1",
|
||||||
"behat/behat": "^3.4",
|
"behat/behat": "^3.4",
|
||||||
"symfony/dependency-injection": "^3.4|^4.2",
|
"symfony/dependency-injection": "^3.4|^4.4|^5.0",
|
||||||
"symfony/http-kernel": "^3.4|^4.2",
|
"symfony/http-kernel": "^3.4|^4.4|^5.0",
|
||||||
"symfony/proxy-manager-bridge": "^3.4|^4.2"
|
"symfony/proxy-manager-bridge": "^3.4|^4.4|^5.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"behat/mink": "^1.7",
|
"behat/mink": "^1.7",
|
||||||
@@ -26,13 +26,12 @@
|
|||||||
"friends-of-behat/service-container-extension": "^1.0",
|
"friends-of-behat/service-container-extension": "^1.0",
|
||||||
"phpstan/phpstan-shim": "^0.11",
|
"phpstan/phpstan-shim": "^0.11",
|
||||||
"sylius-labs/coding-standard": "^3.0",
|
"sylius-labs/coding-standard": "^3.0",
|
||||||
"symfony/browser-kit": "^3.4|^4.2",
|
"symfony/browser-kit": "^3.4|^4.4|^5.0",
|
||||||
"symfony/framework-bundle": "^3.4|^4.2",
|
"symfony/framework-bundle": "^3.4|^4.4|^5.0",
|
||||||
"symfony/process": "^3.4|^4.2",
|
"symfony/process": "^3.4|^4.4|^5.0",
|
||||||
"symfony/yaml": "^3.4|^4.2"
|
"symfony/yaml": "^3.4|^4.4|^5.0"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
"symfony/stopwatch": "^5.0",
|
|
||||||
"symplify/package-builder": "^7.2",
|
"symplify/package-builder": "^7.2",
|
||||||
"symplify/smart-file-system": "^7.2"
|
"symplify/smart-file-system": "^7.2"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -218,8 +218,7 @@ CON
|
|||||||
$executablePath = $this->thereIsFile('__executable.php', $content);
|
$executablePath = $this->thereIsFile('__executable.php', $content);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->process = new Process(sprintf('%s %s --strict -vvv --no-interaction --lang=en', self::$phpBin, escapeshellarg($executablePath)));
|
$this->process = new Process([self::$phpBin, $executablePath, '--strict', '-vvv', '--no-interaction', '--lang=en'], self::$workingDir);
|
||||||
$this->process->setWorkingDirectory(self::$workingDir);
|
|
||||||
$this->process->start();
|
$this->process->start();
|
||||||
$this->process->wait();
|
$this->process->wait();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user