Remove the explicit version from the composer.json

Open
#16 · Created  · Last updated

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.

0 attachments

0 comments

Loading commits...