Code Duplication    Length = 8-8 lines in 2 locations

src/N98/Util/Console/Helper/MagentoHelper.php 2 locations

@@ 193-200 (lines=8) @@
190
    protected function checkModman(array $folders)
191
    {
192
        foreach (array_reverse($folders) as $searchFolder) {
193
            if (!is_readable($searchFolder)) {
194
                if (OutputInterface::VERBOSITY_DEBUG <= $this->output->getVerbosity()) {
195
                    $this->output->writeln(
196
                        '<debug>Folder <info>' . $searchFolder . '</info> is not readable. Skip.</debug>'
197
                    );
198
                }
199
                continue;
200
            }
201
202
            $finder = Finder::create();
203
            $finder
@@ 242-249 (lines=8) @@
239
    protected function checkMagerunFile(array $folders)
240
    {
241
        foreach (array_reverse($folders) as $searchFolder) {
242
            if (!is_readable($searchFolder)) {
243
                if (OutputInterface::VERBOSITY_DEBUG <= $this->output->getVerbosity()) {
244
                    $this->output->writeln(
245
                        sprintf('<debug>Folder <info>%s</info> is not readable. Skip.</debug>', $searchFolder)
246
                    );
247
                }
248
                continue;
249
            }
250
            $stopFile = '.' . pathinfo($this->_customConfigFilename, PATHINFO_FILENAME);
251
            $finder = Finder::create();
252
            $finder