PhpStorm 6.0.1 Web Help

As you edit your source code inspections in the current file are performed on-the-fly, so you can fix the detected problems immediately as described in the section Applying Intention Actions.

If you inspect a larger scope of source files, PhpStorm reports results in the Inspection Results Report section of the Inspection tool window. Where possible, PhpStorm suggests ways to fix the encountered problems in the optional Problem resolution field of the report. If this field is missing, it is the user's responsibility to resolve problems.

To fix a problem reported by the code inspection

Perform these general steps:

  • In the Inspection tool window, select the inspection item you are interested in.
  • If PhpStorm suggests some ways to resolve the problem, select one of the possible fixes below the Problem resolution field in the right pane of the tool window or click the Apply a Quickfix toolbar button img, then select the desired fix from the context menu.

    php_storm_resolving_problems.png
    Click thumbnail to view larger image.

  • If no resolutions are suggested, select the inspection item in question and choose Jump to source on the context menu of the selection and fix the problem manually.

    php_storm_jump_to_source.png
    Click thumbnail to view larger image.

See Also

Concepts:

Reference:

Web Resources: