diff --git a/composer.json b/composer.json
index 3b48438..d8ec717 100644
--- a/composer.json
+++ b/composer.json
@@ -11,12 +11,12 @@
],
"minimum-stability": "stable",
"require": {
- "symfony/console": "^2.3||^3.0",
- "symfony/process": "^2.3||^3.0",
- "symfony/yaml": "^2.3||^3.0"
+ "symfony/console": "^2.3|^3.0|^4.0",
+ "symfony/process": "^2.3|^3.0|^4.0",
+ "symfony/yaml": "^2.3|^3.0|^4.0"
},
"require-dev": {
- "composer/composer": "~1.0@dev"
+ "composer/composer": "^1.0"
},
"autoload": {
"psr-4": {
diff --git a/src/Handler.php b/src/Handler.php
index 59f813c..c7b12d9 100644
--- a/src/Handler.php
+++ b/src/Handler.php
@@ -79,7 +79,7 @@ public function doRun(InputInterface $input, OutputInterface $output)
$output->writeln(['', " $group hook : ".$groupData['description']]);
- $process = new Process($groupData['command'], __DIR__ . '../../');
+ $process = new Process($groupData['command'], __DIR__ . '../../../../');
$process->setTimeout(null);
$output->writeln([" Executed command :",'']);
$output->writeln(" ".str_replace('&&', "&& \\ \n ", $groupData['command']));