Ignoring False-Positives/Disabling Some Checks¶
Scrutinizer provides a sophisticated system for filtering issues that do not make sense in your context, or are simply false-positives.
Ignoring False-Positives¶
If you want to ignore a false-positive, simply select Hide just this issue from the issue drop-down:
![How to ignore a false-positive](png/26c8ac223180e1e67da7ad55e881f0bf-21.png)
Disabling Certain Checks¶
If you would like to disable a certain type of check, the easiest way is to set-up an advanced filter. This works like ignoring false-positives, but applies to all issues of the same type. Doing so is very simple, just click on the Hide more issues like this option from the issue drop-down:
![../../_images/creating-advanced-issue-filter-1.png](png/1762e38f5ce1116e58f77f8f5a9e58a6-22.png)
Creating filter for identical issues¶
On the opening modal dialog, you can widen the scope of the filter if you like. By default, we will only filter identical issues which have the same exact message:
![../../_images/creating-advanced-issue-filter-2.png](png/7b384b35da4e74229c6ac50436b6f3b0-23.png)
Creating filter for similar issues¶
Scrutinizer also allows you to filter similar issues to the one found. Simply select which parameters should be included when applying the filter. If you select no parameters, all instances of the same issue type will removed regardless of the context.
The more parameters you select, the more you narrow down the context to which the filter is being applied:
![../../_images/filter-similar-issue.png](png/e15581e190ee1bce0a059e73a06b5def-24.png)
Removing Created Filters again¶
If you would like to view, or remove a filter, you can do so in your repository settings:
![Removing Issue Filters](png/1f762862eaa9490cccc37e3c2be61d7a-25.png)