diff --git a/bin/install b/bin/install index 16548395991077fcabfcefa1b0f62b74f8386016..7bca2b7f3c74dc779cc32fb54beb9eb47cba8ae7 100644 --- a/bin/install +++ b/bin/install @@ -114,7 +114,15 @@ if ($intVersion > 0 && $intVersion < 18) { // Récupération des dépendances $c->println("\nChargement des dépendances à l'aide de Composer", $c::COLOR_LIGHT_CYAN); -$c->passthru("cd $osedir;php composer.phar install --optimize-autoloader"); + +if ($intVersion === 0) { + // à partir d'une branche, on ignore les prérequis pour composer, afin de tester + $c->passthru("cd $osedir;php composer.phar install --optimize-autoloader --ignore-platform-reqs"); +} else { + // à partir de la v18, et toutes les branches + $c->passthru("cd $osedir;php composer.phar install --optimize-autoloader"); +} + if ($intVersion > 0 && $intVersion < 18) { // Création des liens symboliques