PhpStorm 2022.2 Help

Code Inspection: Annotator

Reports problems that are found by language annotators in the result of a batch code inspection run.

Annotator checks are advanced syntax checks that are too complex for the parser. They cannot be configured or disabled and can be viewed only in the editor. This inspection allows collecting the results of annotator checks and view them when running inspections in batch mode.

Suppress an inspection in the editor

  1. Position the caret at the highlighted line and press Alt+Enter or click the Intention action icon.

  2. Click the arrow next to the inspection you want to suppress and select the necessary suppress action.

Last modified: 13 May 2022