php.buildComposerProject: add missing COMPOSER_ROOT_VERSION env var.

This is mostly required for vimeo/psalm
It doesn't harm anything to add it anyway
This commit is contained in:
Pol Dellaiera 2023-10-05 22:41:48 +02:00
parent 79c799f576
commit 043a094c3b

View file

@ -17,6 +17,7 @@ composerRepositoryConfigureHook() {
fi
if [[ ! -f "composer.lock" ]]; then
COMPOSER_ROOT_VERSION="${version}" \
composer \
--no-ansi \
--no-install \