PhpStorm Briefs

33: Code Inspections - PHP Mess Detector


Listen Later

The PHP Mess Detector takes a given PHP source code base and looks for
several potential problems within that source. These problems can be things
like:
Possible bugs
Suboptimal code
Overcomplicated expressions
Unused parameters, methods, properties
In this episode I give a quick overview of what PMD is and how to use it.
Also applies to: N/A
Key mappings
OSX:
- Find Action: Shift + Command + A
Win/Linux:
- Find Action: Shift + Ctrl + A
Docs
Code Inspection (https://www.jetbrains.com/phpstorm/help/code-inspection.html?origin=old_help&search=inspection)
Using PHP Code Sniffer Tool (https://www.jetbrains.com/phpstorm/help/using-php-code-sniffer-tool.html)
()
Questions/Comments/Suggestions
@PhpStormBriefs (https://twitter.com/phpstormbriefs)
...more
View all episodesView all episodes
Download on the App Store

PhpStorm BriefsBy Henning Glatter-Götz