diff --git a/src/scripts/darwin.sh b/src/scripts/darwin.sh index f84fd030..08c3d129 100644 --- a/src/scripts/darwin.sh +++ b/src/scripts/darwin.sh @@ -144,10 +144,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. diff --git a/src/scripts/linux.sh b/src/scripts/linux.sh index bb52f434..38cc2dfa 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -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. diff --git a/src/scripts/win32.ps1 b/src/scripts/win32.ps1 index 0381f078..14da53b9 100644 --- a/src/scripts/win32.ps1 +++ b/src/scripts/win32.ps1 @@ -180,10 +180,6 @@ Function Edit-ComposerConfig() { if (Test-Path env:COMPOSER_TOKEN) { composer -q global config github-oauth.github.com $env:COMPOSER_TOKEN } - # TODO: Remove after composer 2.0 update, fixes peer fingerprint error - if ($version -lt 5.6) { - composer -q global config repos.packagist composer https://repo-ca-bhs-1.packagist.org - } } # Function to add tools.