Skip to content

Commit b1a33ad

Browse files
committed
Switch composer default version to 2 (because of PHP 7.4)
1 parent d626247 commit b1a33ad

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

magento-phpstan/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ inputs:
1515
composer_version:
1616
description: 'The composer version to use. Can be either 1 or 2.'
1717
required: false
18-
default: "1"
18+
default: "2"
1919
runs:
2020
using: 'docker'
2121
image: 'docker://extdn/magento-phpstan-action:latest'

magento-phpstan/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ MAGENTO_ROOT=/m2
1313
test -z "${COMPOSER_NAME}" && (echo "'composer_name' is not set in your GitHub Actions YAML file" && exit 1)
1414

1515
echo "Using composer ${COMPOSER_VERSION}"
16-
ln -s /usr/local/bin/composer$COMPOSER_VERSION /usr/local/bin/composer
16+
ln -s /usr/local/bin/composer$COMPOSER_VERSION /usr/local/bin/composer
1717

1818
echo "Setup extension source folder within Magento root"
1919
cd $MAGENTO_ROOT

0 commit comments

Comments
 (0)