src/Magestead/Installers/Magento2Project.php 1 location
|
@@ 201-207 (lines=7) @@
|
| 198 |
|
HostsPluginChecker::verify($options, $output); |
| 199 |
|
} |
| 200 |
|
|
| 201 |
|
protected function processVcs(array $options, $projectPath, OutputInterface $output) |
| 202 |
|
{ |
| 203 |
|
if (!empty($options['repo_url'])) { |
| 204 |
|
copy($projectPath . "/puphpet/magestead/magento2/stubs/gitignore.tmp", $projectPath . "/.gitignore"); |
| 205 |
|
return new VersionControl($options['repo_url'], $projectPath, $output); |
| 206 |
|
} |
| 207 |
|
} |
| 208 |
|
} |
src/Magestead/Installers/MagentoProject.php 1 location
|
@@ 174-180 (lines=7) @@
|
| 171 |
|
HostsPluginChecker::verify($options, $output); |
| 172 |
|
} |
| 173 |
|
|
| 174 |
|
protected function processVcs(array $options, $projectPath, OutputInterface $output) |
| 175 |
|
{ |
| 176 |
|
if (!empty($options['repo_url'])) { |
| 177 |
|
copy($projectPath . "/puphpet/magestead/magento/stubs/gitignore.tmp", $projectPath . "/.gitignore"); |
| 178 |
|
return new VersionControl($options['repo_url'], $projectPath, $output); |
| 179 |
|
} |
| 180 |
|
} |
| 181 |
|
|
| 182 |
|
/** |
| 183 |
|
* @param $projectPath |