summaryrefslogtreecommitdiff
path: root/doc/ale-php.txt
diff options
context:
space:
mode:
authorhaginaga <haginaga@unetworks.jp>2018-05-08 14:19:47 +0900
committerhaginaga <haginaga@unetworks.jp>2018-05-08 14:19:47 +0900
commit8cee39c614ec741f8f58cb3d8375b8431f990c2a (patch)
treed5a284b4fb70e0e6fb66ca7a3ebd1cf53ca73c41 /doc/ale-php.txt
parent726a768464d3e42869088599cf1bd049f7a751df (diff)
downloadale-8cee39c614ec741f8f58cb3d8375b8431f990c2a.zip
(close w0rp/ale#1561) Add support phan_client for php
Diffstat (limited to 'doc/ale-php.txt')
-rw-r--r--doc/ale-php.txt18
1 files changed, 16 insertions, 2 deletions
diff --git a/doc/ale-php.txt b/doc/ale-php.txt
index 1ba34388..33796f7c 100644
--- a/doc/ale-php.txt
+++ b/doc/ale-php.txt
@@ -48,7 +48,7 @@ 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
+WARNING: please use the phan_client 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.
@@ -57,8 +57,22 @@ g:ale_php_phan_minimum_severity *g:ale_php_phan_minimum_severity*
Type: |Number|
Default: `0`
- This variable defines the minimum severity level
+ This variable defines the minimum severity level.
+g:ale_php_phan_executable *g:ale_php_phan_executable*
+ *b:ale_php_phan_executable*
+ Type: |String|
+ Default: `'phan'`
+
+ This variable sets executable used for phan or phan_client.
+
+g:ale_php_phan_use_client *g:ale_php_phan_use_client*
+ *b:ale_php_phan_use_client*
+ Type: |Number|
+ Default: `get(g:, 'ale_php_phan_use_client', 0)`
+
+ This variable can be set to 1 to use the phan_client with phan daemon mode
+ instead of the phan standalone.
===============================================================================
phpcbf *ale-php-phpcbf*