@@ 228-234 (lines=7) @@ | ||
225 | ||
226 | $emitted_key = $issue_type . '-' . $e->getShortLocation() . ':' . $e->getLocation()->getColumn(); |
|
227 | ||
228 | if ($reporting_level === Config::REPORT_INFO) { |
|
229 | if ($issue_type === 'TaintedInput' || !self::alreadyEmitted($emitted_key)) { |
|
230 | self::$issues_data[$e->getFilePath()][] = $e->toIssueData(Config::REPORT_INFO); |
|
231 | } |
|
232 | ||
233 | return false; |
|
234 | } |
|
235 | ||
236 | if ($config->throw_exception) { |
|
237 | \Psalm\Internal\Analyzer\FileAnalyzer::clearCache(); |
|
@@ 251-254 (lines=4) @@ | ||
248 | ); |
|
249 | } |
|
250 | ||
251 | if ($issue_type === 'TaintedInput' || !self::alreadyEmitted($emitted_key)) { |
|
252 | ++self::$error_count; |
|
253 | self::$issues_data[$e->getFilePath()][] = $e->toIssueData(Config::REPORT_ERROR); |
|
254 | } |
|
255 | ||
256 | if ($is_fixable) { |
|
257 | self::addFixableIssue($issue_type); |