CircleCI-Public / php-orb

A PHP Orb for CircleCI
https://circleci.com/orbs/registry/orb/circleci/php
MIT License
4 stars 17 forks source link

[semver:minor] Composer install version #30

Closed droath closed 4 years ago

droath commented 4 years ago

Checklist

Motivation, issues

Due to composer releasing 2.0 as the stable release, any PHP projects that have composer plugin using V1 of the API are erroring out. Which drives this need of needing a way to define a composer install version parameter.

Description

Based on how composer-setup.php was developed. The --version definition needs to be based on a semantic version spec. I had to use a when condition to determine if the composer install-version parameter was defined or not, as passing in an empty string or boolean values are not supported.

gmemstr commented 4 years ago

Some funkiness in the pipeline right now, will review shortly :)