2017-03-28 18:25:44 -04:00
|
|
|
===============================================================================
|
|
|
|
ALE PHP Integration *ale-php-options*
|
|
|
|
|
2017-08-07 08:08:51 -04:00
|
|
|
===============================================================================
|
|
|
|
langserver *ale-php-langserver*
|
|
|
|
|
2017-08-10 05:28:42 -04:00
|
|
|
g:ale_php_langserver_executable *g:ale_php_langserver_executable*
|
|
|
|
*b:ale_php_langserver_executable*
|
2017-08-07 08:08:51 -04:00
|
|
|
Type: |String|
|
|
|
|
Default: `'php-language-server.php'`
|
|
|
|
|
|
|
|
The variable can be set to configure the executable that will be used for
|
|
|
|
running the PHP language server. `vendor` directory executables will be
|
2017-08-10 05:28:42 -04:00
|
|
|
preferred instead of this setting if |g:ale_php_langserver_use_global| is `0`.
|
2017-08-07 08:08:51 -04:00
|
|
|
|
|
|
|
See: |ale-integrations-local-executables|
|
|
|
|
|
|
|
|
|
2017-08-10 05:28:42 -04:00
|
|
|
g:ale_php_langserver_use_global *g:ale_php_langserver_use_global*
|
|
|
|
*b:ale_php_langserver_use_global*
|
2017-08-07 08:08:51 -04:00
|
|
|
Type: |Number|
|
2018-04-09 14:11:20 -04:00
|
|
|
Default: `get(g:, 'ale_use_global_executables', 0)`
|
2017-08-07 08:08:51 -04:00
|
|
|
|
|
|
|
This variable can be set to `1` to force the language server to be run with
|
2017-08-10 05:28:42 -04:00
|
|
|
the executable set for |g:ale_php_langserver_executable|.
|
2017-08-07 08:08:51 -04:00
|
|
|
|
|
|
|
See: |ale-integrations-local-executables|
|
|
|
|
|
|
|
|
|
2017-10-24 17:25:02 -04:00
|
|
|
===============================================================================
|
|
|
|
phan *ale-php-phan*
|
|
|
|
|
2018-05-08 01:19:47 -04:00
|
|
|
WARNING: please use the phan_client linter if you have an configuration file
|
2017-10-24 17:25:02 -04:00
|
|
|
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.
|
|
|
|
|
|
|
|
g:ale_php_phan_minimum_severity *g:ale_php_phan_minimum_severity*
|
|
|
|
*b:ale_php_phan_minimum_severity*
|
|
|
|
Type: |Number|
|
|
|
|
Default: `0`
|
|
|
|
|
2018-05-08 01:19:47 -04:00
|
|
|
This variable defines the minimum severity level.
|
2017-10-24 17:25:02 -04:00
|
|
|
|
2018-05-08 01:19:47 -04:00
|
|
|
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.
|
2017-10-24 17:25:02 -04:00
|
|
|
|
2017-09-10 14:42:45 -04:00
|
|
|
===============================================================================
|
|
|
|
phpcbf *ale-php-phpcbf*
|
|
|
|
|
|
|
|
g:ale_php_phpcbf_executable *g:ale_php_phpcbf_executable*
|
|
|
|
*b:ale_php_phpcbf_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'phpcbf'`
|
|
|
|
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_php_phpcbf_standard *g:ale_php_phpcbf_standard*
|
|
|
|
*b:ale_php_phpcbf_standard*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be set to specify the coding standard used by phpcbf. If no
|
|
|
|
coding standard is specified, phpcbf will default to fixing against the
|
|
|
|
PEAR coding standard, or the standard you have set as the default.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_php_phpcbf_use_global *g:ale_php_phpcbf_use_global*
|
|
|
|
*b:ale_php_phpcbf_use_global*
|
|
|
|
Type: |Number|
|
2018-04-09 14:11:20 -04:00
|
|
|
Default: `get(g:, 'ale_use_global_executables', 0)`
|
2017-09-10 14:42:45 -04:00
|
|
|
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
|
|
|
2017-07-08 09:17:26 -04:00
|
|
|
===============================================================================
|
2017-03-28 18:25:44 -04:00
|
|
|
phpcs *ale-php-phpcs*
|
|
|
|
|
2017-06-21 17:38:56 -04: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 18:25:44 -04:00
|
|
|
g:ale_php_phpcs_standard *g:ale_php_phpcs_standard*
|
2017-04-27 17:04:34 -04:00
|
|
|
*b:ale_php_phpcs_standard*
|
2017-03-28 18:25:44 -04: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 17:38:56 -04:00
|
|
|
g:ale_php_phpcs_use_global *g:ale_php_phpcs_use_global*
|
|
|
|
*b:ale_php_phpcs_use_global*
|
|
|
|
Type: |Number|
|
2018-04-09 14:11:20 -04:00
|
|
|
Default: `get(g:, 'ale_use_global_executables', 0)`
|
2017-06-21 17:38:56 -04:00
|
|
|
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
|
|
|
2018-08-16 10:44:41 -04:00
|
|
|
g:ale_php_phpcs_options *g:ale_php_phpcs_options*
|
|
|
|
*b:ale_php_phpcs_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be set to pass additional options to php-cs
|
|
|
|
|
2017-09-10 14:42:45 -04:00
|
|
|
===============================================================================
|
2017-03-28 18:25:44 -04:00
|
|
|
phpmd *ale-php-phpmd*
|
|
|
|
|
2017-11-05 13:53:12 -05:00
|
|
|
g:ale_php_phpmd_executable *g:ale_php_phpmd_executable*
|
|
|
|
*b:ale_php_phpmd_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'phpmd'`
|
|
|
|
|
|
|
|
This variable sets executable used for phpmd.
|
|
|
|
|
|
|
|
|
2017-04-27 17:04:34 -04:00
|
|
|
g:ale_php_phpmd_ruleset *g:ale_php_phpmd_ruleset*
|
|
|
|
*b:ale_php_phpmd_ruleset*
|
2017-03-28 18:25:44 -04: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
|
|
|
|
|
|
|
|
|
2017-09-10 14:42:45 -04:00
|
|
|
===============================================================================
|
2017-08-10 05:45:12 -04:00
|
|
|
phpstan *ale-php-phpstan*
|
2017-07-16 10:04:25 -04:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2017-08-20 01:47:21 -04:00
|
|
|
|
2017-09-30 12:18:20 -04:00
|
|
|
g:ale_php_phpstan_configuration *g:ale_php_phpstan_configuration*
|
|
|
|
*b:ale_php_phpstan_configuration*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable sets path to phpstan configuration file.
|
|
|
|
|
|
|
|
|
2018-03-01 09:41:05 -05:00
|
|
|
===============================================================================
|
2018-09-27 11:48:47 -04:00
|
|
|
psalm *ale-php-psalm*
|
|
|
|
|
|
|
|
g:ale_php_psalm_executable *g:ale_php_psalm_executable*
|
|
|
|
*b:ale_php_psalm_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'psalm'`
|
|
|
|
|
|
|
|
This variable sets the executable used for psalm.
|
|
|
|
|
|
|
|
===============================================================================
|
2018-03-01 09:41:05 -05:00
|
|
|
php-cs-fixer *ale-php-php-cs-fixer*
|
|
|
|
|
|
|
|
g:ale_php_cs_fixer_executable *g:ale_php_cs_fixer_executable*
|
|
|
|
*b:ale_php_cs_fixer_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'php-cs-fixer'`
|
|
|
|
|
|
|
|
This variable sets executable used for php-cs-fixer.
|
|
|
|
|
|
|
|
g:ale_php_cs_fixer_use_global *g:ale_php_cs_fixer_use_global*
|
|
|
|
*b:ale_php_cs_fixer_use_global*
|
|
|
|
Type: |Boolean|
|
2018-04-09 14:11:20 -04:00
|
|
|
Default: `get(g:, 'ale_use_global_executables', 0)`
|
2018-03-01 09:41:05 -05:00
|
|
|
|
|
|
|
This variable force globally installed fixer.
|
|
|
|
|
2018-04-07 17:53:03 -04:00
|
|
|
g:ale_php_cs_fixer_options *g:ale_php_cs_fixer_options*
|
|
|
|
*b:ale_php_cs_fixer_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be set to pass additional options to php-cs-fixer.
|
|
|
|
|
2018-11-01 13:20:48 -04:00
|
|
|
===============================================================================
|
|
|
|
php *ale-php-php*
|
|
|
|
|
|
|
|
g:ale_php_php_executable *g:ale_php_php_executable*
|
|
|
|
*b:ale_php_php_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'php'`
|
|
|
|
|
|
|
|
This variable sets the executable used for php.
|
|
|
|
|
2017-07-08 09:17:26 -04:00
|
|
|
===============================================================================
|
2017-03-28 18:25:44 -04:00
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|