Code Inspection: Traditional syntax array literal detected
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports traditional array syntax (array()
) usages in array literals and suggests replacing them with short array syntax ([]
).
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.