SublimeLinter must be installed in order to use this plugin.
Please use Package Control to install the linter plugin.
Before installing this plugin, ensure that
phpmd is installed on your system.
phpmd, do the following:
phpmdby typing the following in a terminal:
pear channel-discover pear.phpmd.org pear channel-discover pear.pdepend.org pear install --alldeps phpmd/PHP_PMD
- Install composer.
phpmdusing below command:
composer global require phpmd/phpmd
- Make sure composer global bin directory is available in $PATH
- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html