aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-26 02:05:40 +0900
committernsfisis <nsfisis@gmail.com>2026-06-26 02:05:40 +0900
commit4bd544608e4934fff4463fd6b104d06162a51ba0 (patch)
tree579b5c148e86e4468111291dd18e4878fc1c2a86 /crates/shirabe
parent2fe6c2c7eaf5cc99b14e21a63de0a813dd228b94 (diff)
downloadphp-shirabe-4bd544608e4934fff4463fd6b104d06162a51ba0.tar.gz
php-shirabe-4bd544608e4934fff4463fd6b104d06162a51ba0.tar.zst
php-shirabe-4bd544608e4934fff4463fd6b104d06162a51ba0.zip
feat(symfony-style): implement is_console_output_interface, apply real table style
is_console_output_interface downcasts dyn OutputInterface to the concrete ConsoleOutput (the sole ConsoleOutputInterface implementor) via AsAny, mirroring the existing ConsoleSectionOutput check. create_table now passes the customized TableStyle directly through StyleName::Style instead of discarding it. Un-ignores LicensesCommandTest::test_format_summary. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe')
-rw-r--r--crates/shirabe/tests/command/licenses_command_test.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/shirabe/tests/command/licenses_command_test.rs b/crates/shirabe/tests/command/licenses_command_test.rs
index 9e6fc46..05bd7f6 100644
--- a/crates/shirabe/tests/command/licenses_command_test.rs
+++ b/crates/shirabe/tests/command/licenses_command_test.rs
@@ -175,10 +175,6 @@ fn test_format_json() {
#[test]
#[serial]
-#[ignore = "SymfonyStyle::table reaches \
- symfony_style.rs:445 is_console_output_interface() todo!() (downcasting \
- dyn OutputInterface to dyn ConsoleOutputInterface is not expressible with the current \
- trait design)"]
fn test_format_summary() {
let _tear_down = set_up();