Code Inspection: PHP Mess Detector validation
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports coding style problems detected by PHP Mess Detector.
The inspection requires PHP Mess Detector to be properly installed and set up in the IDE under Settings | PHP | Quality Tools | Mess Detector.
For more information about installing PHP Mess Detector, refer to PHP Mess Detector installation (phpmd.org) for details.
You can use a predefined set of rules or add your own by specifying valid ruleset.xml files. See the rules index (phpmd.org) and How to create a custom rule set (phpmd.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.