diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-03 20:06:49 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-03 20:06:49 +0900 |
| commit | f664a25070b38c5b73995874e0ee15dad23bc5ef (patch) | |
| tree | d4996dd03dbecc354cabc3226dbcd64e1ba5c6a8 /crates/mozart-class-map-generator/src/php_scanner.rs | |
| parent | d3cdb9e3f73314e04061d4d18f654e7e80b0dc18 (diff) | |
| download | php-mozart-f664a25070b38c5b73995874e0ee15dad23bc5ef.tar.gz php-mozart-f664a25070b38c5b73995874e0ee15dad23bc5ef.tar.zst php-mozart-f664a25070b38c5b73995874e0ee15dad23bc5ef.zip | |
fix(update): union lock and repo requires when expanding --with-deps
Previously requires_for_name returned the lock entry's requires when the
package was already locked, falling back to repo requires only when not.
That missed the case where the resolver would pick a *newer* version of
the locked package that added a new requirement on another locked
package — the new dependency stayed pinned and the upgrade was silently
suppressed. Union both sources so every candidate version's requires
contribute to the unlock cascade.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart-class-map-generator/src/php_scanner.rs')
0 files changed, 0 insertions, 0 deletions
