From ab3df2483925cb6aecad8de8147190f141454866 Mon Sep 17 00:00:00 2001
From: Matthieu Marcillaud <marcimat@rezo.net>
Date: Tue, 18 Jan 2022 23:19:53 +0100
Subject: [PATCH] =?UTF-8?q?Bump=20de=20phpstan=20+=20indication=20du=20req?=
 =?UTF-8?q?uire=20=C3=A0=20PHP=20et=20suggest=20des=20extensions.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 composer.json | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/composer.json b/composer.json
index f033900e2d..fcad20831c 100644
--- a/composer.json
+++ b/composer.json
@@ -1,8 +1,20 @@
 {
+    "require": {
+        "php": "7.4 || ^8.0",
+        "ext-xml": "*",
+        "ext-zip": "*"
+    },
     "require-dev": {
         "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
         "spip/coding-standards": "^1.2",
-        "phpstan/phpstan": "^0.12.96"
+        "phpstan/phpstan": "^1.4"
+    },
+    "suggest": {
+        "ext-curl": "*",
+        "ext-gd": "^2",
+        "ext-mysqli": "*",
+        "ext-pdo": "*",
+        "ext-pdo_sqlite": "*"
     },
     "archive": {
         "exclude": [
@@ -20,5 +32,10 @@
             "!tmp/remove.txt",
             "!tmp/CACHEDIR.TAG"
         ]
+    },
+    "config": {
+        "allow-plugins": {
+            "dealerdirect/phpcodesniffer-composer-installer": true
+        }
     }
 }
-- 
GitLab