diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-02 15:44:32 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-02 15:44:32 +0900 |
| commit | 4361059d3bb27916179acfebb8889f1863319bb9 (patch) | |
| tree | 2e9a42fba19abe233cdb9cceb26b5909e54e95ee /crates/shirabe/src/util/config_validator.rs | |
| parent | 69b35b0c4d8cb583b389973b096f9dd2dee695c6 (diff) | |
| download | php-shirabe-4361059d3bb27916179acfebb8889f1863319bb9.tar.gz php-shirabe-4361059d3bb27916179acfebb8889f1863319bb9.tar.zst php-shirabe-4361059d3bb27916179acfebb8889f1863319bb9.zip | |
fix(command): wire the missed suggested values and correct update's packages args
Review of the suggested-values wiring against the PHP originals found:
- audit --format (Auditor::FORMATS) and --abandoned (Auditor::ABANDONEDS)
had no suggestions; only ignore-severity had been converted
- the same constant-passing shape was missed on --audit-format
(Auditor::FORMATS) in update, install, require, create-project and
remove
- update's packages argument used suggest_installed_package(false, true),
but PHP's suggestInstalledPackage(false) expands to (false, false); the
stray true came from an incorrect old TODO comment, and made platform
packages appear among the candidates
With these, every one of the 47 suggestedValues sites in the PHP command
definitions has a matching new5/new6 call.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/util/config_validator.rs')
0 files changed, 0 insertions, 0 deletions
