summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Dyrynda <michael@dyrynda.com.au>2022-07-07 22:12:21 +0930
committerGitHub <noreply@github.com>2022-07-07 21:42:21 +0900
commitad2f75e4b207debb3b7cf2a007dd2d205fe603bd (patch)
tree8ec84d74eeb6a7ad9de930f5dccb1ec471e7dffa /doc
parenta918f8c7bc7faa8b035fecf23aa35d395d0636c4 (diff)
downloadale-ad2f75e4b207debb3b7cf2a007dd2d205fe603bd.zip
Add support for Laravel Pint (#4238)
* add support, docs, tests for Laravel Pint * fix php-cs-fixer link * add missing project-without-pint * fix indentation * fix pint executable in pint fixer test * fix variables, docs related to pint support
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-php.txt27
-rw-r--r--doc/ale-supported-languages-and-tools.txt1
-rw-r--r--doc/ale.txt1
3 files changed, 29 insertions, 0 deletions
diff --git a/doc/ale-php.txt b/doc/ale-php.txt
index e4da97d3..2750a319 100644
--- a/doc/ale-php.txt
+++ b/doc/ale-php.txt
@@ -273,6 +273,33 @@ g:ale_php_php_executable *g:ale_php_php_executable*
===============================================================================
+pint *ale-php-pint*
+
+g:ale_php_pint_executable *g:ale_php_pint_executable*
+ *b:ale_php_pint_executable*
+ Type: |String|
+ Default: `'pint'`
+
+ This variable sets the executable used for pint.
+
+
+g:ale_php_pint_options *g:ale_php_pint_options*
+ *b:ale_php_pint_options*
+ Type: |String|
+ Default: `''`
+
+ This variable can be set to pass additional options to pint.
+
+
+g:ale_php_pint_use_global *g:ale_php_pint_use_global*
+ *b:ale_php_pint_use_global*
+ Type: |Boolean|
+ Default: `get(g:, 'ale_use_global_executables', 0)`
+
+ See |ale-integrations-local-executables|
+
+
+===============================================================================
tlint *ale-php-tlint*
g:ale_php_tlint_executable *g:ale_php_tlint_executable*
diff --git a/doc/ale-supported-languages-and-tools.txt b/doc/ale-supported-languages-and-tools.txt
index 10ee6ae5..8db54406 100644
--- a/doc/ale-supported-languages-and-tools.txt
+++ b/doc/ale-supported-languages-and-tools.txt
@@ -417,6 +417,7 @@ Notes:
* `phpcs`
* `phpmd`
* `phpstan`
+ * `pint`
* `psalm`!!
* `tlint`
* PO
diff --git a/doc/ale.txt b/doc/ale.txt
index 0d5d7564..448c937c 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -3071,6 +3071,7 @@ documented in additional help files.
psalm.................................|ale-php-psalm|
php-cs-fixer..........................|ale-php-php-cs-fixer|
php...................................|ale-php-php|
+ pint..................................|ale-php-pint|
tlint.................................|ale-php-tlint|
intelephense..........................|ale-php-intelephense|
po......................................|ale-po-options|