summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2018-03-02 20:40:31 +0000
committerGitHub <noreply@github.com>2018-03-02 20:40:31 +0000
commitad7ffe287574745994811f345e0defd863e575a0 (patch)
tree063e947e495e4393074a934ba441fd7a7e5c4849 /doc
parent2c2c7ceb1d2f3de97ba8a40dd7858e83b6755fcd (diff)
parentfbbb8c17d9634304fd6d10789e78d00c75b70e07 (diff)
downloadale-ad7ffe287574745994811f345e0defd863e575a0.zip
Merge pull request #1390 from jdeniau/jd-feat-phpCsFixer
add php-cs-fixer to list of fixers
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-php.txt17
-rw-r--r--doc/ale.txt3
2 files changed, 19 insertions, 1 deletions
diff --git a/doc/ale-php.txt b/doc/ale-php.txt
index 455472f7..7edfe231 100644
--- a/doc/ale-php.txt
+++ b/doc/ale-php.txt
@@ -167,4 +167,21 @@ g:ale_php_phpstan_configuration *g:ale_php_phpstan_configuration*
===============================================================================
+php-cs-fixer *ale-php-php-cs-fixer*
+
+g:ale_php_cs_fixer_executable *g:ale_php_cs_fixer_executable*
+ *b:ale_php_cs_fixer_executable*
+ Type: |String|
+ Default: `'php-cs-fixer'`
+
+ This variable sets executable used for php-cs-fixer.
+
+g:ale_php_cs_fixer_use_global *g:ale_php_cs_fixer_use_global*
+ *b:ale_php_cs_fixer_use_global*
+ Type: |Boolean|
+ Default: `0`
+
+ This variable force globally installed fixer.
+
+===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
diff --git a/doc/ale.txt b/doc/ale.txt
index 16e4ba98..aeeb9fad 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -159,6 +159,7 @@ CONTENTS *ale-contents*
phpcs...............................|ale-php-phpcs|
phpmd...............................|ale-php-phpmd|
phpstan.............................|ale-php-phpstan|
+ php-cs-fixer........................|ale-php-php-cs-fixer|
po....................................|ale-po-options|
write-good..........................|ale-po-write-good|
pod...................................|ale-pod-options|
@@ -351,7 +352,7 @@ Notes:
* Objective-C++: `clang`
* OCaml: `merlin` (see |ale-ocaml-merlin|), `ols`
* Perl: `perl -c`, `perl-critic`
-* PHP: `hack`, `hackfmt`, `langserver`, `phan`, `php -l`, `phpcs`, `phpmd`, `phpstan`, `phpcbf`
+* PHP: `hack`, `hackfmt`, `langserver`, `phan`, `php -l`, `phpcs`, `phpmd`, `phpstan`, `phpcbf`, `php-cs-fixer`
* PO: `alex`!!, `msgfmt`, `proselint`, `write-good`
* Pod: `alex`!!, `proselint`, `write-good`
* Pony: `ponyc`