Code Inspection: Undefined class
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports the references to classes whose declarations are not found in the project files, configured include paths, or among the PHP predefined classes.
Use the options below to customize the inspection:
Ignore PHPDoc: if selected, the inspection will not report the undefined classes referenced in PHPDoc blocks.
Place the caret at the highlighted line and press AltEnter or click
.
Click the arrow next to the inspection you want to suppress and select the necessary suppress action.