Code Duplication    Length = 8-8 lines in 2 locations

Command/SetupCommand.php 2 locations

@@ 231-238 (lines=8) @@
228
     * @param InputInterface  $input
229
     * @param OutputInterface $output
230
     */
231
    private function createBuildFile(InputInterface $input, OutputInterface $output)
232
    {
233
        $files = [
234
            'gulp' => 'gulp/gulpfile.js',
235
        ];
236
237
        $this->createFileFromTemplate($input, $output, 'pipelines/'.$files[$input->getOption('pipeline')]);
238
    }
239
240
    /**
241
     * @param InputInterface  $input
@@ 244-251 (lines=8) @@
241
     * @param InputInterface  $input
242
     * @param OutputInterface $output
243
     */
244
    private function createPackageJson(InputInterface $input, OutputInterface $output)
245
    {
246
        $files = [
247
            'gulp' => 'gulp/package.json',
248
        ];
249
250
        $this->createFileFromTemplate($input, $output, 'pipelines/'.$files[$input->getOption('pipeline')]);
251
    }
252
253
    /**
254
     * @param InputInterface  $input