mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Hide mixed errors if your error level is >= 3
This commit is contained in:
parent
aea33824e6
commit
23b9331f6d
@ -1260,7 +1260,7 @@ class Config
|
||||
*/
|
||||
public function reportIssueInFile($issue_type, $file_path)
|
||||
{
|
||||
if ($this->suppress_mixed_issues && in_array($issue_type, self::MIXED_ISSUES, true)) {
|
||||
if (($this->suppress_mixed_issues || $this->level > 2) && in_array($issue_type, self::MIXED_ISSUES, true)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user