summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRichard Marmorstein <twitchard@users.noreply.github.com>2018-09-27 11:48:47 -0400
committerw0rp <w0rp@users.noreply.github.com>2018-09-27 16:48:47 +0100
commit947360f714cac48cff1b3e1949b1b66b48be671e (patch)
tree75df21f7327ba0a376727f28cb2f7444d3cde391 /doc
parent58ceb21cbc10a05f376664da31c8d7621e6d3669 (diff)
downloadale-947360f714cac48cff1b3e1949b1b66b48be671e.zip
Add psalm linter for PHP (#1893)
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-php.txt10
-rw-r--r--doc/ale.txt3
2 files changed, 12 insertions, 1 deletions
diff --git a/doc/ale-php.txt b/doc/ale-php.txt
index f38c3f88..2eed838e 100644
--- a/doc/ale-php.txt
+++ b/doc/ale-php.txt
@@ -170,6 +170,16 @@ g:ale_php_phpstan_configuration *g:ale_php_phpstan_configuration*
===============================================================================
+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.
+
+===============================================================================
php-cs-fixer *ale-php-php-cs-fixer*
g:ale_php_cs_fixer_executable *g:ale_php_cs_fixer_executable*
diff --git a/doc/ale.txt b/doc/ale.txt
index b166d9c5..1cf2945f 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -206,6 +206,7 @@ CONTENTS *ale-contents*
phpcs...............................|ale-php-phpcs|
phpmd...............................|ale-php-phpmd|
phpstan.............................|ale-php-phpstan|
+ psalm...............................|ale-php-psalm|
php-cs-fixer........................|ale-php-php-cs-fixer|
po....................................|ale-po-options|
write-good..........................|ale-po-write-good|
@@ -433,7 +434,7 @@ Notes:
* OCaml: `merlin` (see |ale-ocaml-merlin|), `ols`, `ocamlformat`
* Pawn: `uncrustify`
* Perl: `perl -c`, `perl-critic`, `perltidy`
-* PHP: `langserver`, `phan`, `php -l`, `phpcs`, `phpmd`, `phpstan`, `phpcbf`, `php-cs-fixer`
+* PHP: `langserver`, `phan`, `php -l`, `phpcs`, `phpmd`, `phpstan`, `phpcbf`, `php-cs-fixer`, `psalm`!!
* PO: `alex`!!, `msgfmt`, `proselint`, `write-good`
* Pod: `alex`!!, `proselint`, `write-good`
* Pony: `ponyc`