From 275be545cc8a279bc70bf2272da6486945dfc8d2 Mon Sep 17 00:00:00 2001 From: Eric COURTIAL <57905107+ecourtial@users.noreply.github.com> Date: Mon, 9 Nov 2020 10:47:03 +0100 Subject: [PATCH] Fix issue in the CI (#48) * Fix issue in the CI * updates changelog --- .circleci/config.yml | 4 ++-- changelog.MD | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 954ece0..4c2b345 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,7 +28,7 @@ jobs: name: composer command: | if [[ ! -f vendor/autoload.php ]]; then - curl https://getcomposer.org/composer-stable.phar --location --silent --output /usr/bin/composer; \ + curl https://getcomposer.org/composer-1.phar --location --silent --output /usr/bin/composer; \ chmod +x /usr/bin/composer; \ composer install --no-progress --no-interaction; \ fi @@ -85,7 +85,7 @@ jobs: name: composer command: | if [[ ! -f vendor/autoload.php ]]; then - curl https://getcomposer.org/composer-stable.phar --location --silent --output /usr/bin/composer; \ + curl https://getcomposer.org/composer-1.phar --location --silent --output /usr/bin/composer; \ chmod +x /usr/bin/composer; \ composer install --no-progress --no-interaction; \ fi diff --git a/changelog.MD b/changelog.MD index eed0900..434cbd5 100644 --- a/changelog.MD +++ b/changelog.MD @@ -1,5 +1,12 @@ # Changelog +## 1.2.1 + +**Miscellaneous** +* Fix CI: utilization of the library with PHP 7.2 and 7.3 requires composer 1.x while an utilization with PHP 7.4 +can work with Composer 2. This requirement comes from the _ocramius/package-versions_ package, a dependency of +_infection/infection_. This limitation should be removed in the next release with dropping the support of < PHP 7.4. + ## 1.2 **New features**