Code Duplication    Length = 13-13 lines in 2 locations

src/Magestead/Installers/Magento2Project.php 1 location

@@ 204-216 (lines=13) @@
201
     * @param array $options
202
     * @param OutputInterface $output
203
     */
204
    protected function showCredentials(array $options, OutputInterface $output)
205
    {
206
        $output->writeln('<info>SUCCESS: Magestead has finished installing Magento 2!</info>');
207
        $table = new Table($output);
208
        $table
209
            ->setHeaders(['Username', 'Password', 'Base URL', 'Admin URI'])
210
            ->setRows([
211
                ['admin', 'password123', $options['magestead']['apps']['mba_12345']['base_url'], 'admin'],
212
            ]);
213
        $table->render();
214
215
        HostsPluginChecker::verify($options, $output);
216
    }
217
218
    /**
219
     * @param array $options

src/Magestead/Installers/MagentoProject.php 1 location

@@ 169-181 (lines=13) @@
166
     * @param array $options
167
     * @param OutputInterface $output
168
     */
169
    protected function showCredentials(array $options, OutputInterface $output)
170
    {
171
        $output->writeln('<info>SUCCESS: Magestead has finished installing Magento!</info>');
172
        $table = new Table($output);
173
        $table
174
            ->setHeaders(['Username', 'Password', 'Base URL'])
175
            ->setRows([
176
                ['admin', 'password123', $options['magestead']['apps']['mba_12345']['base_url']],
177
            ]);
178
        $table->render();
179
180
        HostsPluginChecker::verify($options, $output);
181
    }
182
183
    /**
184
     * @param array $options