@@ 138-144 (lines=7) @@ | ||
135 | ||
136 | $suppressed_issue_position = array_search($issue_type, $suppressed_issues); |
|
137 | ||
138 | if ($suppressed_issue_position !== false) { |
|
139 | if (\is_int($suppressed_issue_position)) { |
|
140 | self::$used_suppressions[$file_path][$suppressed_issue_position] = true; |
|
141 | } |
|
142 | ||
143 | return true; |
|
144 | } |
|
145 | ||
146 | $parent_issue_type = Config::getParentIssueType($issue_type); |
|
147 | ||
@@ 151-157 (lines=7) @@ | ||
148 | if ($parent_issue_type) { |
|
149 | $suppressed_issue_position = array_search($parent_issue_type, $suppressed_issues); |
|
150 | ||
151 | if ($suppressed_issue_position !== false) { |
|
152 | if (\is_int($suppressed_issue_position)) { |
|
153 | self::$used_suppressions[$file_path][$suppressed_issue_position] = true; |
|
154 | } |
|
155 | ||
156 | return true; |
|
157 | } |
|
158 | } |
|
159 | ||
160 | $suppress_all_position = array_search('all', $suppressed_issues); |
|
@@ 162-168 (lines=7) @@ | ||
159 | ||
160 | $suppress_all_position = array_search('all', $suppressed_issues); |
|
161 | ||
162 | if ($suppress_all_position !== false) { |
|
163 | if (\is_int($suppress_all_position)) { |
|
164 | self::$used_suppressions[$file_path][$suppress_all_position] = true; |
|
165 | } |
|
166 | ||
167 | return true; |
|
168 | } |
|
169 | ||
170 | $reporting_level = $config->getReportingLevelForIssue($e); |
|
171 |