[pkg-php-pear] Bug#978442: Bug#978442: Composer: Please, handle x versions as * versions
Robin Gustafsson
robin at rgson.se
Sun Dec 27 15:23:03 GMT 2020
Quoting from the source code of Composer's "semver" version parser [1]:
// X Range
//
// Any of X, x, or * may be used to "stand in" for one of the numeric
values in the [major, minor, patch] tuple.
// A partial version range is treated as an X-Range, so the special
character is in fact optional.
[1] https://github.com/composer/semver/blob/f8c5a07/src/VersionParser.php#L408,L411
More information about the pkg-php-pear
mailing list