summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2017-08-20 13:42:03 +0100
committerGitHub <noreply@github.com>2017-08-20 13:42:03 +0100
commit47e681529bbb98410d31bc0659b4b81c6fc7a97c (patch)
treec53a66f3a70fb48e303dcad840dde423753d866c /doc
parent4c6b58f70c378434173991ad5edf23e9bc972bc2 (diff)
parent5a9a365aed333560c9490dbddc8f382f47c08564 (diff)
downloadale-47e681529bbb98410d31bc0659b4b81c6fc7a97c.zip
Merge pull request #862 from notomo/add-phpcbf-fixer
add phpcbf fixer
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-php.txt30
-rw-r--r--doc/ale.txt3
2 files changed, 32 insertions, 1 deletions
diff --git a/doc/ale-php.txt b/doc/ale-php.txt
index 8865021a..e2b0de6f 100644
--- a/doc/ale-php.txt
+++ b/doc/ale-php.txt
@@ -94,5 +94,35 @@ g:ale_php_phpstan_level *g:ale_php_phpstan_level*
This variable controls the rule levels. 0 is the loosest and 4 is the
strictest.
+
+-------------------------------------------------------------------------------
+phpcbf *ale-php-phpcbf*
+
+g:ale_php_phpcbf_executable *g:ale_php_phpcbf_executable*
+ *b:ale_php_phpcbf_executable*
+ Type: |String|
+ Default: `'phpcbf'`
+
+ See |ale-integrations-local-executables|
+
+
+g:ale_php_phpcbf_standard *g:ale_php_phpcbf_standard*
+ *b:ale_php_phpcbf_standard*
+ Type: |String|
+ Default: `''`
+
+ This variable can be set to specify the coding standard used by phpcbf. If no
+ coding standard is specified, phpcbf will default to fixing against the
+ PEAR coding standard, or the standard you have set as the default.
+
+
+g:ale_php_phpcbf_use_global *g:ale_php_phpcbf_use_global*
+ *b:ale_php_phpcbf_use_global*
+ Type: |Number|
+ Default: `0`
+
+ See |ale-integrations-local-executables|
+
+
===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
diff --git a/doc/ale.txt b/doc/ale.txt
index 0c308e7f..6f514894 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -85,6 +85,7 @@ CONTENTS *ale-contents*
phpcs...............................|ale-php-phpcs|
phpmd...............................|ale-php-phpmd|
phpstan.............................|ale-php-phpstan|
+ phpcbf..............................|ale-php-phpcbf|
pug...................................|ale-pug-options|
puglint.............................|ale-pug-puglint|
python................................|ale-python-options|
@@ -212,7 +213,7 @@ The following languages and tools are supported.
* Objective-C++: 'clang'
* OCaml: 'merlin' (see |ale-ocaml-merlin|)
* Perl: 'perl' (-c flag), 'perlcritic'
-* PHP: 'hack', 'langserver', 'php' (-l flag), 'phpcs', 'phpmd', 'phpstan'
+* PHP: 'hack', 'langserver', 'php' (-l flag), 'phpcs', 'phpmd', 'phpstan', 'phpcbf'
* Pod: 'proselint'
* Pug: 'pug-lint'
* Puppet: 'puppet', 'puppet-lint'