semver icon indicating copy to clipboard operation
semver copied to clipboard

Semantic versioning utilities with the addition of version constraints parsing and checking.

Results 5 semver issues
Sort by recently updated
recently updated
newest added

I find that running `$version_parser->normalize('1.30.1');` will return `1.30.1.0`. That's not valid SemVer. It stems from this: https://github.com/composer/semver/blob/3953f23262f2bff1919fc82183ad9acb13ff62c9/src/VersionParser.php#L138 I suspect that I'm missing something, because this seems like too much of...

I wonder wheter the result of this operation should be `true` `var_dump(Comparator::greaterThanOrEqualTo('1.0', '1.0.0'))` it leads to `false` in the latest release

question

`VersionParser::parseConstraint()` does not take into consideration stability flag when parsing constraint with `~` tilde or `^` caret range: Constraint `~1.2.3@RC` is parsed as `>=1.2.3.0-dev` and `=1.2.3.0-RC` and `1.2.3@rc` -> `1.2.3.0-rc`...

bug

I'm not asking you to reverse the decision in #15 not to follow the actual semantic versioning specification. I'm asking you to please make it clear in the package description...