diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-08 21:59:08 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-08 21:59:08 +0900 |
| commit | d0d05f14a4d1b36f517077ffdaa4b335c812190f (patch) | |
| tree | 76c2cd5e627963d9a23def6d414ba35153b354d6 /crates/mozart-test-harness | |
| parent | 9c2396134465613d3c650e881219572aecc777a5 (diff) | |
| download | php-mozart-d0d05f14a4d1b36f517077ffdaa4b335c812190f.tar.gz php-mozart-d0d05f14a4d1b36f517077ffdaa4b335c812190f.tar.zst php-mozart-d0d05f14a4d1b36f517077ffdaa4b335c812190f.zip | |
fix(suggests): align with Composer's SuggestsCommand pipeline
Port `Composer\Installer\SuggestedPackagesReporter` to
`mozart_core::installer` (modes, add_package, add_suggestions_from_package,
output, output_minimalistic, escape_output) and slim
`commands/suggests.rs` to mirror `SuggestsCommand::execute`. Defines
`HasSuggests`, `InstalledRepoLite`, `RootInfo` as the minimal stand-ins
for Composer's `PackageInterface` / `InstalledRepository` /
`onlyDependentsOf`.
Also fixes a latent bug where `provide`/`replace` virtuals were read
from `extra_fields` (always empty after a serde round-trip into
LockedPackage's typed fields) and moves the "additional suggestions
... --all" hint to fire after the rendered sections, matching
Composer's order.
Diffstat (limited to 'crates/mozart-test-harness')
0 files changed, 0 insertions, 0 deletions
