summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-05-07 19:38:32 +0100
committerw0rp <devw0rp@gmail.com>2019-05-07 19:38:38 +0100
commit5f64f8dc5799d9ad93544d24fb780428cd07dbbe (patch)
tree2039386cfbaa537d8d7ac9664f6f3efdf0248ac4 /doc
parentc10da0e390b37ae6a739769dffb3b8dcf36a81d0 (diff)
downloadale-5f64f8dc5799d9ad93544d24fb780428cd07dbbe.zip
Escape phpstan arguments, and update documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-php.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/ale-php.txt b/doc/ale-php.txt
index 83bc0fd5..6f53cead 100644
--- a/doc/ale-php.txt
+++ b/doc/ale-php.txt
@@ -154,11 +154,13 @@ g:ale_php_phpstan_executable *g:ale_php_phpstan_executable*
g:ale_php_phpstan_level *g:ale_php_phpstan_level*
*b:ale_php_phpstan_level*
- Type: |Number|
- Default: `4`
+ Type: |String|
+ Default: `''`
This variable controls the rule levels. 0 is the loosest and 4 is the
- strictest.
+ strictest. If this option isn't set, the rule level will be controlled by
+ the configuration file. If no configuration file can be detected, `'4'` will
+ be used instead.
g:ale_php_phpstan_configuration *g:ale_php_phpstan_configuration*