Use default packagist mirror for old PHP

This commit is contained in:
Shivam Mathur
2020-07-23 03:03:44 +05:30
parent a4001afbd6
commit 84f23853b7
3 changed files with 0 additions and 12 deletions

View File

@ -243,10 +243,6 @@ configure_composer() {
if [ -n "$COMPOSER_TOKEN" ]; then
composer -q global config github-oauth.github.com "$COMPOSER_TOKEN"
fi
# TODO: Remove after composer 2.0 update, fixes peer fingerprint error
if [[ "$version" =~ $old_versions ]]; then
composer -q global config repos.packagist composer https://repo-ca-bhs-1.packagist.org
fi
}
# Function to setup a remote tool.