Code Duplication    Length = 13-13 lines in 2 locations

src/Magestead/Installers/Magento2Project.php 1 location

@@ 194-206 (lines=13) @@
191
     * @param array $options
192
     * @param OutputInterface $output
193
     */
194
    protected function showCredentials(array $options, OutputInterface $output)
195
    {
196
        $output->writeln('<info>SUCCESS: Magestead has finished installing Magento 2!</info>');
197
        $table = new Table($output);
198
        $table
199
            ->setHeaders(['Username', 'Password', 'Base URL', 'Admin URI'])
200
            ->setRows([
201
                ['admin', 'password123', $options['magestead']['apps']['mba_12345']['base_url'], 'admin'],
202
            ]);
203
        $table->render();
204
205
        HostsPluginChecker::verify($options, $output);
206
    }
207
208
    protected function processVcs(array $options, $projectPath, OutputInterface $output)
209
    {

src/Magestead/Installers/MagentoProject.php 1 location

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