mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 13:38:32 +01:00
MDL-68445 behat: Bump to 3.6.x
composer.lock generated with PHP 7.2, following: https://docs.moodle.org/dev/Composer#How_to_prepare_and_submit_composer_changes Also, ensure Symfony/Process > 4.0 compatibility (needed for parallel runs)
This commit is contained in:
parent
9df4a4de18
commit
98cc4d0445
@ -13,7 +13,7 @@
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "7.5.*",
|
||||
"phpunit/dbunit": "4.0.*",
|
||||
"moodlehq/behat-extension": "3.39.2",
|
||||
"moodlehq/behat-extension": "3.39.3",
|
||||
"mikey179/vfsstream": "^1.6",
|
||||
"instaclick/php-webdriver": "dev-local as 1.x-dev"
|
||||
}
|
||||
|
926
composer.lock
generated
926
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@ -517,7 +517,14 @@ function cli_execute_parallel($cmds, $cwd = null, $delay = 0) {
|
||||
|
||||
// Create child process.
|
||||
foreach ($cmds as $name => $cmd) {
|
||||
$process = new Symfony\Component\Process\Process($cmd);
|
||||
if (method_exists('\\Symfony\\Component\\Process\\Process', 'fromShellCommandline')) {
|
||||
// Process 4.2 and up.
|
||||
$process = Symfony\Component\Process\Process::fromShellCommandline($cmd);
|
||||
} else {
|
||||
// Process 4.1 and older.
|
||||
$process = new Symfony\Component\Process\Process(null);
|
||||
$process->setCommandLine($cmd);
|
||||
}
|
||||
|
||||
$process->setWorkingDirectory($cwd);
|
||||
$process->setTimeout(null);
|
||||
|
Loading…
x
Reference in New Issue
Block a user