Code Inspection: Missing parameter list
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports missing parameter lists in a classes' instantiations.
According to the PSR-12 specification, when instantiating a new class, parentheses MUST always be present even when there are no arguments passed to the constructor.
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.