Code Duplication    Length = 6-7 lines in 2 locations

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

@@ 6068-6074 (lines=7) @@
6065
                    $msg = 'PHP Minor Problem (this message show logged in only)';
6066
                    break;
6067
                case E_STRICT:
6068
                case E_DEPRECATED:
6069
                    if ($this->error_reporting <= 1) {
6070
                        return true;
6071
                    }
6072
                    $isError = true;
6073
                    $msg = 'PHP Strict Standards Problem';
6074
                    break;
6075
                default:
6076
                    if ($this->error_reporting === 0) {
6077
                        return true;
@@ 6075-6080 (lines=6) @@
6072
                    $isError = true;
6073
                    $msg = 'PHP Strict Standards Problem';
6074
                    break;
6075
                default:
6076
                    if ($this->error_reporting === 0) {
6077
                        return true;
6078
                    }
6079
                    $isError = true;
6080
                    $msg = 'PHP Parse Error';
6081
            }
6082
        }
6083
        if (is_readable($file)) {