ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sublime​Linter-phpmd

by SublimeLinter ST3

SublimeLinter plugin for php, using phpmd.

Details

Installs

  • Total 17K
  • Win 9K
  • OS X 5K
  • Linux 4K
Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1
Windows 3 5 2 2 5 4 3 2 8 0 4 6 8 6 10 3 2 5 7 6 4 7 2 2 1 3 3 6 6 3 0 5 8 2 10 7 2 3 0 1 4 3 10 7 0 2
OS X 4 3 0 0 1 2 1 6 1 1 0 3 1 0 4 0 4 2 1 4 2 2 2 0 0 4 6 5 3 2 1 2 3 3 2 4 1 0 1 2 3 2 4 0 1 1
Linux 4 3 2 0 1 1 5 4 0 1 1 1 2 1 2 2 3 0 1 4 2 6 2 0 0 0 2 3 5 2 0 1 4 3 1 2 5 1 1 3 0 2 4 2 0 0

Readme

Source
raw.​githubusercontent.​com

SublimeLinter-phpmd

Build Status

This linter plugin for SublimeLinter provides an interface to phpmd. It will be used with files that have the “PHP”, “HTML” and “HTML5” syntax.

Installation

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. To install phpmd, do the following:

  1. Install php.

  2. Install pear.

  3. Install phpmd by typing the following in a terminal:

pear channel-discover pear.phpmd.org
   pear channel-discover pear.pdepend.org
   pear install --alldeps phpmd/PHP_PMD

Alternative installation using composer:

  1. Install composer.
  2. Install phpmd using below command:
composer global require phpmd/phpmd
  1. Make sure composer global bin directory is available in $PATH
export PATH=~/.composer/vendor/bin:$PATH

Settings