diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-23 14:31:35 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-23 14:31:35 +0900 |
| commit | 6cf5f6363f416b558753d44bee9ec536ddf7c06c (patch) | |
| tree | 08d22fde8f4c92938629026de35f880e9375daff /crates/mozart/src/commands | |
| parent | d9cc83f4e775ed7f59cf21f350b2140c29cf6b07 (diff) | |
| download | php-mozart-6cf5f6363f416b558753d44bee9ec536ddf7c06c.tar.gz php-mozart-6cf5f6363f416b558753d44bee9ec536ddf7c06c.tar.zst php-mozart-6cf5f6363f416b558753d44bee9ec536ddf7c06c.zip | |
fix(semver): handle partial upper bounds in hyphen ranges per Composer spec
`parse_hyphen_range` was using `<=` for all upper bounds, but Composer
treats partial versions (1-2 segments) differently: `8.1 - 8.5` should
mean `>=8.1.0 <8.6.0-dev`, not `>=8.1.0 <=8.5.0`. This caused
constraints like `php 8.1 - 8.5` to reject PHP 8.5.3.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart/src/commands')
0 files changed, 0 insertions, 0 deletions
