Code Duplication    Length = 6-7 lines in 2 locations

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

@@ 6077-6083 (lines=7) @@
6074
                    $msg = 'PHP Minor Problem (this message show logged in only)';
6075
                    break;
6076
                case E_STRICT:
6077
                case E_DEPRECATED:
6078
                    if ($this->error_reporting <= 1) {
6079
                        return true;
6080
                    }
6081
                    $isError = true;
6082
                    $msg = 'PHP Strict Standards Problem';
6083
                    break;
6084
                default:
6085
                    if ($this->error_reporting === 0) {
6086
                        return true;
@@ 6084-6089 (lines=6) @@
6081
                    $isError = true;
6082
                    $msg = 'PHP Strict Standards Problem';
6083
                    break;
6084
                default:
6085
                    if ($this->error_reporting === 0) {
6086
                        return true;
6087
                    }
6088
                    $isError = true;
6089
                    $msg = 'PHP Parse Error';
6090
            }
6091
        }
6092
        if (is_readable($file)) {