Code Duplication    Length = 6-7 lines in 2 locations

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

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