Code Duplication    Length = 6-7 lines in 2 locations

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

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