Remove the explicit version from the composer.json

#16 Open
Repository
mailchimp
Branch
master

Bitbucket cannot automatically merge this request.

The commits that make up this pull request have been removed.

Bitbucket cannot automatically merge this request due to conflicts.

Review the conflicts on the Overview tab. You can then either decline the request or merge it manually on your local system using the following commands:

git checkout master
git remote add stof/mandrill-api-php https://bitbucket.org/stof/mandrill-api-php.git
git fetch stof/mandrill-api-php
git merge --no-ff -m 'Merged in stof/mandrill-api-php/stof/remove-the-explicit-version-from-the-com-1464605863705 (pull request #16)' remotes/stof/mandrill-api-php/stof/remove-the-explicit-version-from-the-com-1464605863705
Author
  1. Christophe Coevoet
Reviewers
Description

Remove the explicit version from the composer.json

For packages managed in a VCS repository, composer reads the version from the VCS metadata. Adding an explicit version is useless, and can only harm the project (if the explicit version does not match the version inferred from the tag name, the release is considered as invalid and ignored by Composer). The official recommendation is to omit the version entirely for VCS repositories rather than having to remember to update it properly.

Comments (0)