Code Inspection: Case with specified value not found in enum
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports the arguments of enum's from
method calls that are not found in target enum classes.
See Enumerations (php.net) 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.