mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-30 14:45:29 +08:00
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:
@@ -113,3 +113,9 @@ Execute(Autoload parameter is added to the command):
|
||||
|
||||
AssertLinter 'phpstan',
|
||||
\ ale#Escape('phpstan') . ' analyze --no-progress --errorFormat json -a ' . ale#Escape('autoload.php') . ' -l ' . ale#Escape('4') . ' %s'
|
||||
|
||||
Execute(Memory limit parameter is added to the command):
|
||||
let g:ale_php_phpstan_memory_limit = '500M'
|
||||
|
||||
AssertLinter 'phpstan',
|
||||
\ ale#Escape('phpstan') . ' analyze --no-progress --errorFormat json -l ' . ale#Escape('4') . ' --memory-limit ' . ale#Escape('500M') . ' %s'
|
||||
|
||||
Reference in New Issue
Block a user