Code Inspection: Extension is missing in composer.json
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports the usages of classes, functions, and constants from the PHP extensions not specified in composer.json. If an extension is listed in the require-dev
section of composer.json, the inspection reports the corresponding symbols' usages located outside of the folders marked as test roots.
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.