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

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