heroku / heroku-buildpack-php

Heroku's buildpack for PHP applications.

Home Page:https://devcenter.heroku.com/categories/php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CI on main failing during composer installation with "Installer corrupt"

edmorley opened this issue · comments

It looks like a new version of Composer (or the compose install script at least) has been released, since the expected checksum no longer matches:

name: Install Composer
command: |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"

eg:
https://app.circleci.com/pipelines/github/heroku/heroku-buildpack-php/120/workflows/a503947b-0fee-44ce-81af-4a72ae37115a/jobs/293

cc @dzuelke