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.
42
42
(phpstan-executable . docker)
43
43
(phpstan-working-dir . (root . "path/to/dir"))
44
44
(phpstan-config-file . (root . "path/to/dir/phpstan-docker.neon"))
45
+ (phpstan-memory-limit . "1G")
45
46
(phpstan-level . 7))))
46
47
#+END_SRC
47
48
@@ -123,3 +124,8 @@ Rule level of PHPStan analysis. Please see [[https://github.com/phpstan/phpstan
123
124
124
125
*** Custom variable ~phpstan-flycheck-auto-set-executable~
125
126
Set 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