protected addPhpSpecPackage ( $projectPath, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$projectPath | ||
$output | Symfony\Component\Console\Output\OutputInterface |
protected function addPhpSpecPackage($projectPath, OutputInterface $output)
{
$output->writeln('<comment>Installing PHPSpec</comment>');
$command = 'cd ' . $projectPath . '/public; composer require phpspec/phpspec --dev;';
new ProcessCommand($command, $projectPath, $output);
$this->setPhpSpecPermissions($projectPath, $output);
}