Code Duplication    Length = 6-7 lines in 2 locations

manager/includes/document.parser.class.inc.php 2 locations

@@ 6307-6313 (lines=7) @@
6304
                    $msg = 'PHP Minor Problem (this message show logged in only)';
6305
                    break;
6306
                case E_STRICT:
6307
                case E_DEPRECATED:
6308
                    if ($this->error_reporting <= 1) {
6309
                        return true;
6310
                    }
6311
                    $isError = true;
6312
                    $msg = 'PHP Strict Standards Problem';
6313
                    break;
6314
                default:
6315
                    if ($this->error_reporting === 0) {
6316
                        return true;
@@ 6314-6319 (lines=6) @@
6311
                    $isError = true;
6312
                    $msg = 'PHP Strict Standards Problem';
6313
                    break;
6314
                default:
6315
                    if ($this->error_reporting === 0) {
6316
                        return true;
6317
                    }
6318
                    $isError = true;
6319
                    $msg = 'PHP Parse Error';
6320
            }
6321
        }
6322
        if (is_readable($file)) {