aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command/diagnose_command.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-07-26 00:38:05 +0900
committernsfisis <nsfisis@gmail.com>2026-07-26 00:38:05 +0900
commit9bf862774b0bae92967f007f4d49597b73d70bb1 (patch)
tree8184d284b2481810eff85a1c4e07fce174184534 /crates/shirabe/src/command/diagnose_command.rs
parent8143e9c383e36f600680e1a28c833df7bd5bd60b (diff)
downloadphp-shirabe-9bf862774b0bae92967f007f4d49597b73d70bb1.tar.gz
php-shirabe-9bf862774b0bae92967f007f4d49597b73d70bb1.tar.zst
php-shirabe-9bf862774b0bae92967f007f4d49597b73d70bb1.zip
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) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/command/diagnose_command.rs')
-rw-r--r--crates/shirabe/src/command/diagnose_command.rs6
1 files changed, 5 insertions, 1 deletions
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::cell::RefCell<dyn IOInterface>> = 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,