mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Merge pull request #1562 from haginaga/support_phan_client
Add support phan_client for php
This commit is contained in:
@@ -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*
|
||||
|
||||
Reference in New Issue
Block a user