From 15c54ec439d0e718ae4aa81cc96c66b69ddfa4d1 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 19 Jul 2026 14:18:07 +0900 Subject: fix(check-platform-reqs): restore raw Link column in text table PHP's printTable builds a 5-column row for text output, with the raw Link object (cast via __toString) as its own column separate from the formatted description string. The port had collapsed both into one column, dropping an empty column for successful checks and throwing off the rendered column widths/spacing versus real Composer output. --- crates/shirabe/src/command/check_platform_reqs_command.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crates/shirabe/src/command/check_platform_reqs_command.rs') diff --git a/crates/shirabe/src/command/check_platform_reqs_command.rs b/crates/shirabe/src/command/check_platform_reqs_command.rs index 0f310ea4..5852050e 100644 --- a/crates/shirabe/src/command/check_platform_reqs_command.rs +++ b/crates/shirabe/src/command/check_platform_reqs_command.rs @@ -119,6 +119,10 @@ impl CheckPlatformReqsCommand { PhpMixed::List(vec![ PhpMixed::String(result.platform_package.clone()), PhpMixed::String(result.version.clone()), + match &result.link { + Some(link) => PhpMixed::String(link.to_string()), + None => PhpMixed::String(String::new()), + }, if let Some(link) = &result.link { PhpMixed::String(format!( "{} {} {} ({})", -- cgit v1.3.1