Code Duplication    Length = 5-5 lines in 2 locations

src/Command/LintCommand.php 2 locations

@@ 345-349 (lines=5) @@
342
            return 80;
343
        }
344
345
        if (function_exists('shell_exec') && preg_match('#\d+ (\d+)#', shell_exec('stty size'), $match) === 1) {
346
            if ((int) $match[1] > 0) {
347
                return (int) $match[1];
348
            }
349
        }
350
351
        if (function_exists('shell_exec') && preg_match('#columns = (\d+);#', shell_exec('stty'), $match) === 1) {
352
            if ((int) $match[1] > 0) {
@@ 351-355 (lines=5) @@
348
            }
349
        }
350
351
        if (function_exists('shell_exec') && preg_match('#columns = (\d+);#', shell_exec('stty'), $match) === 1) {
352
            if ((int) $match[1] > 0) {
353
                return (int) $match[1];
354
            }
355
        }
356
357
        return 80;
358
    }