2017-03-28 22:25:44 +00:00
|
|
|
===============================================================================
|
|
|
|
ALE PHP Integration *ale-php-options*
|
|
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
phpcs *ale-php-phpcs*
|
|
|
|
|
2017-06-21 21:38:56 +00:00
|
|
|
g:ale_php_phpcs_executable *g:ale_php_phpcs_executable*
|
|
|
|
*b:ale_php_phpcs_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'phpcs'`
|
|
|
|
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
|
|
|
2017-03-28 22:25:44 +00:00
|
|
|
g:ale_php_phpcs_standard *g:ale_php_phpcs_standard*
|
2017-04-27 21:04:34 +00:00
|
|
|
*b:ale_php_phpcs_standard*
|
2017-03-28 22:25:44 +00:00
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be set to specify the coding standard used by phpcs. If no
|
|
|
|
coding standard is specified, phpcs will default to checking against the
|
|
|
|
PEAR coding standard, or the standard you have set as the default.
|
|
|
|
|
|
|
|
|
2017-06-21 21:38:56 +00:00
|
|
|
g:ale_php_phpcs_use_global *g:ale_php_phpcs_use_global*
|
|
|
|
*b:ale_php_phpcs_use_global*
|
|
|
|
Type: |Number|
|
|
|
|
Default: `0`
|
|
|
|
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
|
|
|
2017-03-28 22:25:44 +00:00
|
|
|
------------------------------------------------------------------------------
|
|
|
|
phpmd *ale-php-phpmd*
|
|
|
|
|
2017-04-27 21:04:34 +00:00
|
|
|
g:ale_php_phpmd_ruleset *g:ale_php_phpmd_ruleset*
|
|
|
|
*b:ale_php_phpmd_ruleset*
|
2017-03-28 22:25:44 +00:00
|
|
|
Type: |String|
|
|
|
|
Default: `'cleancode,codesize,controversial,design,naming,unusedcode'`
|
|
|
|
|
|
|
|
This variable controls the ruleset used by phpmd. Default is to use all of
|
|
|
|
the available phpmd rulesets
|
|
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|