From 1c1755ee6ebfa7c7c72339542611286e15c21d5b Mon Sep 17 00:00:00 2001 From: Aaron Scherer Date: Wed, 4 Apr 2018 09:35:52 -0700 Subject: [PATCH 1/2] Update composer.json --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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": { From ac28595957f4484d1835aba6df2880916fd644ea Mon Sep 17 00:00:00 2001 From: Thomas Picquet Date: Tue, 1 May 2018 06:23:16 -0700 Subject: [PATCH 2/2] fixed path --- src/Handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Handler.php b/src/Handler.php index 37a428f..6841887 100644 --- a/src/Handler.php +++ b/src/Handler.php @@ -65,7 +65,7 @@ public function doRun(InputInterface $input, OutputInterface $output) foreach ($this->categories[$this->hook] as $command) { $output->writeln(" Running $this->hook hook "); - $process = new Process($command, __DIR__ . '../../'); + $process = new Process($command, __DIR__ . '/../../../../'); $process->setTimeout(null); $output->write($command."......"); if ($process->run() === 1) {