From 32c6598d2a8e3851ad2276a80dc5bd77dce1cec9 Mon Sep 17 00:00:00 2001
From: Camille Simiand <camille.simiand@tetras-libre.fr>
Date: Fri, 31 Dec 2021 16:24:46 +0100
Subject: [PATCH] Add stricter rule for phpstan

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

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