summaryrefslogtreecommitdiff
path: root/doc/ale.txt
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2017-02-09 18:43:26 +0000
committerGitHub <noreply@github.com>2017-02-09 18:43:26 +0000
commitf67cf170707646df7321bcd113cf256206242de7 (patch)
tree6e8a2fe8693aaffcbc27248720fcd9f23c3510ec /doc/ale.txt
parent73e0f87eba043594668d9b34b63d489c59140c4f (diff)
parentff096124c6d128bef222aa6954da636c075b05d8 (diff)
downloadale-f67cf170707646df7321bcd113cf256206242de7.zip
Merge pull request #285 from medains/master
Linter addition of PHP Mess Detector
Diffstat (limited to 'doc/ale.txt')
-rw-r--r--doc/ale.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index 28b5eee2..187251f6 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -35,6 +35,7 @@ CONTENTS *ale-contents*
4.23. python-mypy.....................|ale-linter-options-python-mypy|
4.24. python-pylint...................|ale-linter-options-python-pylint|
4.25. erlang..........................|ale-linter-options-erlang|
+ 4.26. phpmd...........................|ale-linter-options-phpmd|
5. Linter Integration Notes.............|ale-linter-integration|
5.1. merlin..........................|ale-linter-integration-ocaml-merlin|
5.2. rust.............................|ale-integration-rust|
@@ -93,7 +94,7 @@ The following languages and tools are supported.
* MATLAB: 'mlint'
* OCaml: 'merlin' (see |ale-linter-integration-ocaml-merlin|)
* Perl: 'perl' (-c flag), 'perlcritic'
-* PHP: 'hack', 'php' (-l flag), 'phpcs'
+* PHP: 'hack', 'php' (-l flag), 'phpcs', 'phpmd'
* Pug: 'pug-lint'
* Puppet: 'puppet', 'puppet-lint'
* Python: 'flake8', 'mypy', 'pylint'
@@ -880,6 +881,17 @@ g:ale_erlang_erlc_options *g:ale_erlang_erlc_options*
This variable controls additional parameters passed to `erlc`, such as `-I`
or `-pa`.
+------------------------------------------------------------------------------
+4.26. phpmd *ale-linter-options-phpmd*
+
+g:ale_php_phpmd_ruleset *g:ale_php_phpmd_ruleset*
+
+ Type: |String|
+ Default: 'cleancode,codesize,controversial,design,naming,unusedcode'
+
+ This variable controls the ruleset used by phpmd. Default is to use all of
+ the available phpmd rulesets
+
===============================================================================
5. Linter Integration Notes *ale-linter-integration*