Code Duplication    Length = 7-7 lines in 2 locations

src/Magestead/Installers/Magento2Project.php 1 location

@@ 224-230 (lines=7) @@
221
     * @param OutputInterface $output
222
     * @return VersionControl
223
     */
224
    protected function processVcs(array $options, $projectPath, OutputInterface $output)
225
    {
226
        if (!empty($options['repo_url'])) {
227
            copy($projectPath . "/puphpet/magestead/magento2/stubs/gitignore.tmp", $projectPath . "/.gitignore");
228
            return new VersionControl($options['repo_url'], $projectPath, $output);
229
        }
230
    }
231
232
    /**
233
     * @param $projectPath

src/Magestead/Installers/MagentoProject.php 1 location

@@ 189-195 (lines=7) @@
186
     * @param OutputInterface $output
187
     * @return VersionControl
188
     */
189
    protected function processVcs(array $options, $projectPath, OutputInterface $output)
190
    {
191
        if (!empty($options['repo_url'])) {
192
            copy($projectPath . "/puphpet/magestead/magento/stubs/gitignore.tmp", $projectPath . "/.gitignore");
193
            return new VersionControl($options['repo_url'], $projectPath, $output);
194
        }
195
    }
196
197
    /**
198
     * @param $projectPath