PhpStorm 6.0.1 Web Help

Inspection severity indicates how seriously the discrepancies detected by the inspection impact the project and determines how the detected discrepancies should be presented in the inspection results. By default, you can assign one of the following severity degrees to an inspection:

You can re-configure their color schemes as well as create custom severity degrees.

Warning

Any changes made to the color scheme and the list of severity degrees apply to the current inspection only.

To assign a severity degree to an inspection
  1. In the list of inspections, navigate to the desired one. If the inspection is disabled, select the check box next to it.
  2. To specify the inspection severity, select the desired severity from the context menu of the inspection or from the Severity drop-down list in the Options area.
To configure severity degrees for an inspection
  1. In the Options area, click the Browse button browseButton next to the Severity drop-down list.

    OptionsArea.gif

    The Severities Editor dialog box opens.

  2. In the Severities Editor dialog box, you can perform the following actions:
    • Change the color scheme of a severity: select it in the list and click the Edit Settings | Colors & Fonts button. In the Colors and Fonts dialog box that opens configure the color scheme and fonts to present the selected severity degree.
    • Add a custom severity: click the Add button add.png on the toolbar and type the name for the new severity in the New Highlight Severity dialog box that opens. Then click the Edit Settings | Colors & Fonts button and specify the color settings for the new severity in the Colors and Fonts dialog box that opens.
    • Use the Move Up button arrowUp.png and Move Down button arrowUp.png to change the priority of severity degrees by reordering them in the list.

      Warning

      The priority of a default severity cannot be changed.

    • Remove a severity degree from the list: select it and click the Remove button delete.png.

      Warning

      Only custom severity degrees can be removed.

See Also

Concepts:

Procedures:

Web Resources: