Code Inspection: Multiple class declarations
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports the references to classes that have multiple declarations in project files.
Use the options below to customize the inspection:
Ignore PHPDoc: if selected, the inspection will not report multiple declarations of 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.