Code Duplication    Length = 6-7 lines in 2 locations

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

@@ 6088-6094 (lines=7) @@
6085
                    $msg = 'PHP Minor Problem (this message show logged in only)';
6086
                    break;
6087
                case E_STRICT:
6088
                case E_DEPRECATED:
6089
                    if ($this->error_reporting <= 1) {
6090
                        return true;
6091
                    }
6092
                    $isError = true;
6093
                    $msg = 'PHP Strict Standards Problem';
6094
                    break;
6095
                default:
6096
                    if ($this->error_reporting === 0) {
6097
                        return true;
@@ 6095-6100 (lines=6) @@
6092
                    $isError = true;
6093
                    $msg = 'PHP Strict Standards Problem';
6094
                    break;
6095
                default:
6096
                    if ($this->error_reporting === 0) {
6097
                        return true;
6098
                    }
6099
                    $isError = true;
6100
                    $msg = 'PHP Parse Error';
6101
            }
6102
        }
6103
        if (is_readable($file)) {