From 69bbd8b6a3dc8b80db65f274db86f75d05587cf5 Mon Sep 17 00:00:00 2001 From: afornerot Date: Thu, 31 Aug 2023 15:37:42 +0200 Subject: [PATCH] gestion composer 1 & 2 --- src/ninegitea-1.0/composer.json | 3 +++ src/ninegitea-1.0/scripts/checkcomposer.php | 13 +++++++++++++ src/ninegitea-1.0/scripts/reconfigure.sh | 2 ++ src/ninegitea-1.0/symfony.lock | 14 ++++++++++++++ 4 files changed, 32 insertions(+) create mode 100644 src/ninegitea-1.0/scripts/checkcomposer.php diff --git a/src/ninegitea-1.0/composer.json b/src/ninegitea-1.0/composer.json index 194c2ea..ca53ebc 100644 --- a/src/ninegitea-1.0/composer.json +++ b/src/ninegitea-1.0/composer.json @@ -74,6 +74,9 @@ "symfony/polyfill-php56": "*" }, "scripts": { + "pre-install-cmd": [ + "php scripts/checkcomposer.php" + ], "auto-scripts": { "cache:clear": "symfony-cmd", "cache:clear --env=prod": "symfony-cmd", diff --git a/src/ninegitea-1.0/scripts/checkcomposer.php b/src/ninegitea-1.0/scripts/checkcomposer.php new file mode 100644 index 0000000..b244c55 --- /dev/null +++ b/src/ninegitea-1.0/scripts/checkcomposer.php @@ -0,0 +1,13 @@ +