@@ 181-187 (lines=7) @@ | ||
178 | * @param OutputInterface $output |
|
179 | * @return VersionControl|null |
|
180 | */ |
|
181 | protected function processVcs(array $options, $projectPath, OutputInterface $output) |
|
182 | { |
|
183 | if (!empty($options['repo_url'])) { |
|
184 | copy($projectPath . "/puphpet/magestead/magento/stubs/gitignore.tmp", $projectPath . "/.gitignore"); |
|
185 | return new VersionControl($options['repo_url'], $projectPath, $output); |
|
186 | } |
|
187 | } |
|
188 | ||
189 | /** |
|
190 | * @param $projectPath |
@@ 261-267 (lines=7) @@ | ||
258 | * @param OutputInterface $output |
|
259 | * @return VersionControl|null |
|
260 | */ |
|
261 | protected function processVcs(array $options, $projectPath, OutputInterface $output) |
|
262 | { |
|
263 | if (!empty($options['repo_url'])) { |
|
264 | copy($projectPath . "/puphpet/magestead/magento2/stubs/gitignore.tmp", $projectPath . "/.gitignore"); |
|
265 | return new VersionControl($options['repo_url'], $projectPath, $output); |
|
266 | } |
|
267 | } |
|
268 | ||
269 | /** |
|
270 | * @param $projectPath |