linter-phpmd Archived: ... Source Code has been archived

Lint PHP on the fly, using phpmd

AtomLinter

68,032

101

Bug Reports

2.0.2

MIT

GitHub

This package provides the following services:

linter-phpmd

Build Status Dependency Status apm apm

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

Installation

phpmd installation

Before installing this plugin, you must ensure that phpmd is installed on your system. For detailed instructions see phpmd.org, the simplified steps are:

  1. Install php.
  2. Install Composer.
  3. Install phpmd by typing the following in a terminal:
composer global require phpmd/phpmd

After verifying that phpmd works from your terminal, proceed to install the linter-phpmd plugin.

Plugin installation

$ apm install linter-phpmd