From 4e17d8d3313a1ef388fed894fd9847124b05fe18 Mon Sep 17 00:00:00 2001
From: David Beniamine <david.beniamine@tetras-libre.fr>
Date: Wed, 15 Dec 2021 00:40:25 +0100
Subject: [PATCH] Increase phpstan memory limit

---
 composer.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/composer.json b/composer.json
index a016c31..10b6b7b 100644
--- a/composer.json
+++ b/composer.json
@@ -108,7 +108,7 @@
         ],
         "tests": "php ./vendor/bin/phpunit",
         "phpcs": "php ./vendor/bin/phpcs src/ tests/",
-        "phpstan": "vendor/bin/phpstan analyse src/ tests/unit/ tests/functional/",
+        "phpstan": "php -d memory_limit=4G vendor/bin/phpstan analyse src/ tests/unit/ tests/functional/",
         "php-cs-fixer": "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix src/ tests/unit/ tests/functional/"
     },
     "conflict": {
-- 
GitLab