src/Magestead/Installers/Magento2Project.php 1 location
|
@@ 208-214 (lines=7) @@
|
| 205 |
|
HostsPluginChecker::verify($options, $output); |
| 206 |
|
} |
| 207 |
|
|
| 208 |
|
protected function processVcs(array $options, $projectPath, OutputInterface $output) |
| 209 |
|
{ |
| 210 |
|
if (!empty($options['repo_url'])) { |
| 211 |
|
copy($projectPath . "/puphpet/magestead/magento2/stubs/gitignore.tmp", $projectPath . "/.gitignore"); |
| 212 |
|
return new VersionControl($options['repo_url'], $projectPath, $output); |
| 213 |
|
} |
| 214 |
|
} |
| 215 |
|
} |
src/Magestead/Installers/MagentoProject.php 1 location
|
@@ 168-174 (lines=7) @@
|
| 165 |
|
HostsPluginChecker::verify($options, $output); |
| 166 |
|
} |
| 167 |
|
|
| 168 |
|
protected function processVcs(array $options, $projectPath, OutputInterface $output) |
| 169 |
|
{ |
| 170 |
|
if (!empty($options['repo_url'])) { |
| 171 |
|
copy($projectPath . "/puphpet/magestead/magento/stubs/gitignore.tmp", $projectPath . "/.gitignore"); |
| 172 |
|
return new VersionControl($options['repo_url'], $projectPath, $output); |
| 173 |
|
} |
| 174 |
|
} |
| 175 |
|
|
| 176 |
|
/** |
| 177 |
|
* @param $projectPath |