@@ 63-70 (lines=8) @@ | ||
60 | * @param $projectPath |
|
61 | * @param OutputInterface $output |
|
62 | */ |
|
63 | protected function addPhpSpecPackage($projectPath, OutputInterface $output) |
|
64 | { |
|
65 | $output->writeln('<comment>Installing PHPSpec</comment>'); |
|
66 | $command = 'cd '.$projectPath.'/public; composer require phpspec/phpspec --dev;'; |
|
67 | new ProcessCommand($command, $projectPath, $output); |
|
68 | ||
69 | $this->setPhpSpecPermissions($projectPath, $output); |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param $projectPath |
|
@@ 76-83 (lines=8) @@ | ||
73 | * @param $projectPath |
|
74 | * @param OutputInterface $output |
|
75 | */ |
|
76 | protected function addBehatPackage($projectPath, OutputInterface $output) |
|
77 | { |
|
78 | $output->writeln('<comment>Installing Behat</comment>'); |
|
79 | $command = 'cd '.$projectPath.'/public; composer require behat/behat --dev;'; |
|
80 | new ProcessCommand($command, $projectPath, $output); |
|
81 | ||
82 | $this->setBehatPermissions($projectPath, $output); |
|
83 | } |
|
84 | ||
85 | /** |
|
86 | * @param array $config |