Added phpstan linter for php. (#772)

* Added phpstan linter for php.
This commit is contained in:
Ardis
2017-07-16 16:04:25 +02:00
committed by w0rp
parent 4fa66ab627
commit 7d174b0056
5 changed files with 175 additions and 2 deletions

View File

@@ -43,5 +43,24 @@ g:ale_php_phpmd_ruleset *g:ale_php_phpmd_ruleset*
the available phpmd rulesets
------------------------------------------------------------------------------
phpstan *ale-php-stan*
g:ale_php_phpstan_executable *g:ale_php_phpstan_executable*
*b:ale_php_phpstan_executable*
Type: |String|
Default: `'phpstan'`
This variable sets executable used for phpstan.
g:ale_php_phpstan_level *g:ale_php_phpstan_level*
*b:ale_php_phpstan_level*
Type: |Number|
Default: `4`
This variable controls the rule levels. 0 is the loosest and 4 is the
strictest.
===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: