From 9bf862774b0bae92967f007f4d49597b73d70bb1 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 26 Jul 2026 00:38:05 +0900 Subject: fix(diagnose-command): give the audit BufferIO normal verbosity PHP's BufferIO defaults to StreamOutput::VERBOSITY_NORMAL; passing 0 sits below VERBOSITY_QUIET, so every write was dropped and "Audit found some issues:" was followed by an empty advisory table. Co-Authored-By: Claude Opus 5 (1M context) --- crates/shirabe/src/command/diagnose_command.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/shirabe/src/command/diagnose_command.rs b/crates/shirabe/src/command/diagnose_command.rs index a34d4e96..178b4e23 100644 --- a/crates/shirabe/src/command/diagnose_command.rs +++ b/crates/shirabe/src/command/diagnose_command.rs @@ -1004,7 +1004,11 @@ impl DiagnoseCommand { repo_set.add_repository(composer_repo_as_repo)?; let io: std::rc::Rc> = std::rc::Rc::new( - std::cell::RefCell::new(BufferIO::new(String::new(), 0, None)?), + std::cell::RefCell::new(BufferIO::new( + String::new(), + shirabe_external_packages::symfony::console::output::output_interface::VERBOSITY_NORMAL, + None, + )?), ); let result = match auditor.audit( &io, -- cgit v1.3.1