diff options
author | medains <medains@github.com.fake> | 2017-02-01 16:09:33 +0000 |
---|---|---|
committer | medains <medains@github.com.fake> | 2017-02-01 16:28:51 +0000 |
commit | ff096124c6d128bef222aa6954da636c075b05d8 (patch) | |
tree | 2534a4502691dbf0bd3f723d32df6134f9ef7d73 /doc/ale.txt | |
parent | 512b6e00d9379700d65dbf7701dc9631f62866d8 (diff) | |
download | ale-ff096124c6d128bef222aa6954da636c075b05d8.zip |
Linter addition of PHP Mess Detector
Diffstat (limited to 'doc/ale.txt')
-rw-r--r-- | doc/ale.txt | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/ale.txt b/doc/ale.txt index 4bed2e02..c8e4ff40 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* |