Code Duplication    Length = 6-7 lines in 2 locations

core/src/ExceptionHandler.php 2 locations

@@ 116-122 (lines=7) @@
113
                    $msg = 'PHP Minor Problem (this message show logged in only)';
114
                    break;
115
                case E_STRICT:
116
                case E_DEPRECATED:
117
                    if ($this->container->error_reporting <= 1) {
118
                        return true;
119
                    }
120
                    $isError = true;
121
                    $msg = 'PHP Strict Standards Problem';
122
                    break;
123
                default:
124
                    if ($this->container->error_reporting === 0) {
125
                        return true;
@@ 123-128 (lines=6) @@
120
                    $isError = true;
121
                    $msg = 'PHP Strict Standards Problem';
122
                    break;
123
                default:
124
                    if ($this->container->error_reporting === 0) {
125
                        return true;
126
                    }
127
                    $isError = true;
128
                    $msg = 'PHP Parse Error';
129
            }
130
        }
131
        if (is_readable($file)) {