summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDiego Oliveira <contato@diegoholiveira.com>2017-10-24 19:25:02 -0200
committerw0rp <w0rp@users.noreply.github.com>2017-10-24 22:25:02 +0100
commitb172cd8b17a8d9f0573e75211963e59b37ad5c34 (patch)
treec316cedc4171028ec03160e1c6299a2dce168670 /doc
parentc248885e5790ce81018ddc8f8afbc3c173051059 (diff)
downloadale-b172cd8b17a8d9f0573e75211963e59b37ad5c34.zip
Add phan as a linter for php files (#1026)
Add phan for checking PHP code
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-php.txt15
-rw-r--r--doc/ale.txt3
2 files changed, 17 insertions, 1 deletions
diff --git a/doc/ale-php.txt b/doc/ale-php.txt
index bae6d7d0..8756d60e 100644
--- a/doc/ale-php.txt
+++ b/doc/ale-php.txt
@@ -35,6 +35,21 @@ g:ale_php_langserver_use_global *g:ale_php_langserver_use_global*
===============================================================================
+phan *ale-php-phan*
+
+WARNING: please do not use this linter if you have an configuration file
+for your project because the phan will look into your entirely project and
+ale will display in the current buffer warnings that may belong to other file.
+
+g:ale_php_phan_minimum_severity *g:ale_php_phan_minimum_severity*
+ *b:ale_php_phan_minimum_severity*
+ Type: |Number|
+ Default: `0`
+
+ This variable defines the minimum severity level
+
+
+===============================================================================
phpcbf *ale-php-phpcbf*
g:ale_php_phpcbf_executable *g:ale_php_phpcbf_executable*
diff --git a/doc/ale.txt b/doc/ale.txt
index 47b95438..2972381a 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -115,6 +115,7 @@ CONTENTS *ale-contents*
php...................................|ale-php-options|
hack................................|ale-php-hack|
langserver..........................|ale-php-langserver|
+ phan................................|ale-php-phan|
phpcbf..............................|ale-php-phpcbf|
phpcs...............................|ale-php-phpcs|
phpmd...............................|ale-php-phpmd|
@@ -273,7 +274,7 @@ Notes:
* Objective-C++: `clang`
* OCaml: `merlin` (see |ale-ocaml-merlin|)
* Perl: `perl -c`, `perl-critic`
-* PHP: `hack`, `langserver`, `php -l`, `phpcs`, `phpmd`, `phpstan`, `phpcbf`
+* PHP: `hack`, `langserver`, `phan`, `php -l`, `phpcs`, `phpmd`, `phpstan`, `phpcbf`
* Pod: `proselint`
* Pug: `pug-lint`
* Puppet: `puppet`, `puppet-lint`