Unverified Commit a9d1d295 authored by Patka's avatar Patka
Browse files

build-support/php: fix reproducibility of buildComposerProject2

parent cc2c0e99
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -60,8 +60,10 @@ composerVendorBuildHook() {
    echo "Executing composerVendorBuildHook"

    composer \
        --apcu-autoloader \
        --apcu-autoloader-prefix="$(jq -r -c 'try ."content-hash"' < composer.lock)" \
        # The acpu-autoloader is not reproducible and has to be disabled.
        # Upstream PR: https://github.com/composer/composer/pull/12090
        # --apcu-autoloader \
        # --apcu-autoloader-prefix="$(jq -r -c 'try ."content-hash"' < composer.lock)" \
        --no-interaction \
        --no-progress \
        --optimize-autoloader \