Skip to content

Commit cb02ef7

Browse files
authored
Fix for issue #21 (#24)
* Added symfony2 support * Fixed issue with symfony2
1 parent 3e57b17 commit cb02ef7

File tree

6 files changed

+2
-28
lines changed

6 files changed

+2
-28
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
"php" : ">=5.6",
3131
"mcustiel/phiremock": "^1.7",
3232
"codeception/codeception" : "^2.2",
33-
"symfony/process": "^3.3"
33+
"symfony/process": "^3.1|^2.7.15"
3434
}
3535
}

src/Extension/PhiremockProcess.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ private function initProcess($ip, $port, $debug, $expectationsPath, $phiremockPa
9393
}
9494

9595
// Process wraps the command with 'exec' in UNIX OSs.
96-
$this->process = new Process($commandline);
96+
$this->process = new Process(implode(' ', $commandline));
9797
}
9898

9999
/**

tests/tests/functional.suite.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

tests/tests/functional/_bootstrap.php

Lines changed: 0 additions & 3 deletions
This file was deleted.

tests/tests/unit.suite.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/tests/unit/_bootstrap.php

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)