|
|
@ -77,9 +77,11 @@ use Symfony\Component\Console\Output\OutputInterface; |
|
|
|
if (is_dir($path)){ |
|
|
|
if (is_dir($path)){ |
|
|
|
$empty = false; |
|
|
|
$empty = false; |
|
|
|
$args = [ |
|
|
|
$args = [ |
|
|
|
|
|
|
|
'--bootstrap', |
|
|
|
|
|
|
|
'vendor/autoload.php', |
|
|
|
$path |
|
|
|
$path |
|
|
|
]; |
|
|
|
]; |
|
|
|
$code = $this->runPhpUnitIfAvailable($input->getArgument('args'),$output); |
|
|
|
$code = $this->runPhpUnitIfAvailable($args,$output); |
|
|
|
if ($code != Command::SUCCESS){ |
|
|
|
if ($code != Command::SUCCESS){ |
|
|
|
return $code; |
|
|
|
return $code; |
|
|
|
} |
|
|
|
} |
|
|
|