diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-07-24 20:23:24 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-07-24 20:23:24 +0900 |
| commit | 7392662eed92f00b41e173809fb51f6a21572003 (patch) | |
| tree | 8593c85b071fe49d3b1793d12330a540da83ccc2 /crates/shirabe/src/command/dump_autoload_command.rs | |
| parent | 70198f0c1e67594549193413fb8e86b1879dc41d (diff) | |
| download | php-shirabe-7392662eed92f00b41e173809fb51f6a21572003.tar.gz php-shirabe-7392662eed92f00b41e173809fb51f6a21572003.tar.zst php-shirabe-7392662eed92f00b41e173809fb51f6a21572003.zip | |
fix(solver-problems): preserve first-occurrence order in extension hint
create_extension_hint's --ignore-platform-req suggestion list sorted
missing extensions alphabetically before deduping. PHP's array_unique
removes duplicates while preserving first-occurrence order instead,
which for this call site matches the order problems were reported in
(root-require-not-found problems before SAT-conflict problems).
Replaced the sort+dedup with the existing order-preserving
shirabe_php_shim::array_unique, which was already ported for exactly
this PHP semantic but wasn't used here.
Diffstat (limited to 'crates/shirabe/src/command/dump_autoload_command.rs')
0 files changed, 0 insertions, 0 deletions
