Code Inspection: Compound namespace depth is more than 2
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports the usages of compound namespaces whose depth exceeds two levels.
According to PSR-12, compound namespaces with a depth of more than two MUST NOT be used.
See PSR-12: Extended Coding Style (php-fig.org) for details.
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.