This linter plugin for Linter provides an interface to phpmd. It will be used with files that have the "PHP" syntax or PHP embedded within HTML. A list of the rules checked and their definitions can be found here: http://phpmd.org/rules/index.html
Before installing this plugin, you must ensure that phpmd
is installed on your
system. For detailed instructions see phpmd.org,
the simplified steps are:
composer global require phpmd/phpmd
After verifying that phpmd
works from your terminal, proceed to install the linter-phpmd plugin.
$ apm install linter-phpmd