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 click the Cross button in the top right of an issue:

How to ignore a false-positive

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, first hover the Cross button in the top right of an issue:


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:


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:


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