Adds --memory-limit support for phpstan (#3973)

* Adds --memmory-limit option for PHPStan linter

* Updates docs for phpstan --memory-limit option.

* Adds Arizard to authors

* Adds test for phpstan memory limit parameter

* Fixes order of parameters in test

* Changes dash to underscore
This commit is contained in:
Arie Oldman
2021-11-12 16:18:49 +11:00
committed by GitHub
parent a9d7f45924
commit ff26ed7231
3 changed files with 23 additions and 1 deletions

View File

@@ -187,6 +187,15 @@ g:ale_php_phpstan_autoload *g:ale_php_phpstan_autoload*
This variable sets path to phpstan autoload file.
g:ale_php_phpstan_memory_limit *g:ale_php_phpstan_memory-limit*
*b:ale_php_phpstan_memory-limit*
Type: |String|
Default: `''`
This variable sets the memory limit for phpstan analysis. This is a string
in the same format as `php.ini` accepts, e.g. `128M`, `1G`.
===============================================================================
psalm *ale-php-psalm*