From 0390c3b474c751ace4d3604aa1b19d23ba647d68 Mon Sep 17 00:00:00 2001 From: afornerot Date: Thu, 31 Aug 2023 15:50:55 +0200 Subject: [PATCH] gestion composer 1 & 2 --- src/ninebadge-1.0/composer.json | 3 +++ src/ninebadge-1.0/scripts/checkcomposer.php | 13 +++++++++++++ src/ninebadge-1.0/scripts/reconfigure.sh | 2 ++ 3 files changed, 18 insertions(+) create mode 100644 src/ninebadge-1.0/scripts/checkcomposer.php diff --git a/src/ninebadge-1.0/composer.json b/src/ninebadge-1.0/composer.json index 8e4dd5b..d441679 100644 --- a/src/ninebadge-1.0/composer.json +++ b/src/ninebadge-1.0/composer.json @@ -92,6 +92,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/ninebadge-1.0/scripts/checkcomposer.php b/src/ninebadge-1.0/scripts/checkcomposer.php new file mode 100644 index 0000000..b244c55 --- /dev/null +++ b/src/ninebadge-1.0/scripts/checkcomposer.php @@ -0,0 +1,13 @@ +