File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ Put the following into ~.dir-locals.el~ files on the root directory of project.
4242 (phpstan-executable . docker)
4343 (phpstan-working-dir . (root . "path/to/dir"))
4444 (phpstan-config-file . (root . "path/to/dir/phpstan-docker.neon"))
45+ (phpstan-memory-limit . "1G")
4546 (phpstan-level . 7))))
4647#+END_SRC
4748
@@ -123,3 +124,8 @@ Rule level of PHPStan analysis. Please see [[https://github.com/phpstan/phpstan
123124
124125*** Custom variable ~phpstan-flycheck-auto-set-executable~
125126Set flycheck phpstan-executable automatically when non-NIL.
127+ *** Custom variable ~phpstan-memory-limit~
128+ Use phpstan memory limit option when non-NIL.
129+ - STRING :: Specifies the memory limit in the same format php.ini accepts.
130+ - ex) ~"1G"~
131+ - ~nil~ :: Use memory limit in php.ini
You can’t perform that action at this time.
0 commit comments