From 69c58c49baee668a90620fce8c54143fb23e4176 Mon Sep 17 00:00:00 2001 From: Tim Kelty Date: Mon, 2 May 2022 16:22:49 -0400 Subject: [PATCH] Add memory limit for phpstan via lint-staged --- .lintstagedrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.lintstagedrc.json b/.lintstagedrc.json index f86ea15606a..3d75f82de9e 100644 --- a/.lintstagedrc.json +++ b/.lintstagedrc.json @@ -1,7 +1,7 @@ { "**/*.php": [ "./vendor/bin/ecs check --ansi --fix", - "./vendor/bin/phpstan analyse" + "./vendor/bin/phpstan analyse --memory-limit=1G" ], "*": "prettier --ignore-unknown --write" }