Code Duplication    Length = 6-7 lines in 2 locations

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

@@ 6050-6056 (lines=7) @@
6047
                    $msg = 'PHP Minor Problem (this message show logged in only)';
6048
                    break;
6049
                case E_STRICT:
6050
                case E_DEPRECATED:
6051
                    if ($this->error_reporting <= 1) {
6052
                        return true;
6053
                    }
6054
                    $isError = true;
6055
                    $msg = 'PHP Strict Standards Problem';
6056
                    break;
6057
                default:
6058
                    if ($this->error_reporting === 0) {
6059
                        return true;
@@ 6057-6062 (lines=6) @@
6054
                    $isError = true;
6055
                    $msg = 'PHP Strict Standards Problem';
6056
                    break;
6057
                default:
6058
                    if ($this->error_reporting === 0) {
6059
                        return true;
6060
                    }
6061
                    $isError = true;
6062
                    $msg = 'PHP Parse Error';
6063
            }
6064
        }
6065
        if (is_readable($file)) {