Code Duplication    Length = 11-11 lines in 2 locations

src/Magestead/Installers/Magento2Project.php 1 location

@@ 186-196 (lines=11) @@
183
     * @param array $options
184
     * @param OutputInterface $output
185
     */
186
    protected function showCredentials(array $options, OutputInterface $output)
187
    {
188
        $output->writeln('<info>SUCCESS: Magestead has finished installing Magento 2!</info>');
189
        $table = new Table($output);
190
        $table
191
            ->setHeaders(['Username', 'Password', 'Base URL', 'Admin URI'])
192
            ->setRows([
193
                ['admin', 'password123', $options['magestead']['apps']['mba_12345']['base_url'], 'admin'],
194
            ]);
195
        $table->render();
196
    }
197
}

src/Magestead/Installers/MagentoProject.php 1 location

@@ 148-158 (lines=11) @@
145
     * @param array $options
146
     * @param OutputInterface $output
147
     */
148
    protected function showCredentials(array $options, OutputInterface $output)
149
    {
150
        $output->writeln('<info>SUCCESS: Magestead has finished installing Magento!</info>');
151
        $table = new Table($output);
152
        $table
153
            ->setHeaders(['Username', 'Password', 'Base URL'])
154
            ->setRows([
155
                ['admin', 'password123', $options['magestead']['apps']['mba_12345']['base_url']],
156
            ]);
157
        $table->render();
158
    }
159
160
    protected function processVcs(array $options, $projectPath, OutputInterface $output)
161
    {