Code Duplication    Length = 3-3 lines in 2 locations

src/Openl10n/Cli/Command/InitCommand.php 2 locations

@@ 128-130 (lines=3) @@
125
        $dialog = $this->getHelperSet()->get('dialog');
126
127
        // Server
128
        if (!isset($this->configuration['server']['hostname'])) {
129
            $this->configuration['server']['hostname'] = $dialog->ask($output, '<info>Hostname</info> [<comment>openl10n.dev</comment>]: ', 'openl10n.dev');
130
        }
131
132
        if (!isset($this->configuration['server']['use_ssl'])) {
133
            $this->configuration['server']['use_ssl'] = $dialog->askConfirmation($output, '<info>Enable ssl</info> [<comment>no</comment>]? ', false);
@@ 132-134 (lines=3) @@
129
            $this->configuration['server']['hostname'] = $dialog->ask($output, '<info>Hostname</info> [<comment>openl10n.dev</comment>]: ', 'openl10n.dev');
130
        }
131
132
        if (!isset($this->configuration['server']['use_ssl'])) {
133
            $this->configuration['server']['use_ssl'] = $dialog->askConfirmation($output, '<info>Enable ssl</info> [<comment>no</comment>]? ', false);
134
        }
135
136
        if (false === $this->configuration['server']['use_ssl']) {
137
            unset($this->configuration['server']['use_ssl']);