From f38080643d80b258393f2b7ab20349b122fe4591 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 10 Aug 2026 04:20:15 +0900 Subject: refactor(symfony-console): drop the unused Table surface Table titles, per-column styles and appendRow have no callers: a plugin-provided command runs inside the worker-side Symfony console application, so its table rendering resolves against the real PHP Table rather than this port. Remove those methods together with the fields they were the only writers of, and the render branches those fields made unreachable. Co-Authored-By: Claude Opus 5 --- crates/shirabe-symfony-console/src/helper/table_rows.rs | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'crates/shirabe-symfony-console/src/helper/table_rows.rs') diff --git a/crates/shirabe-symfony-console/src/helper/table_rows.rs b/crates/shirabe-symfony-console/src/helper/table_rows.rs index 57db5ee8..dea05384 100644 --- a/crates/shirabe-symfony-console/src/helper/table_rows.rs +++ b/crates/shirabe-symfony-console/src/helper/table_rows.rs @@ -16,14 +16,6 @@ impl TableRows { pub fn from_row_groups(row_groups: Vec>) -> Self { Self { row_groups } } - - pub fn get_iterator(&self) -> std::slice::Iter<'_, Vec> { - self.row_groups.iter() - } - - pub fn into_row_groups(self) -> Vec> { - self.row_groups - } } impl<'a> IntoIterator for &'a TableRows { @@ -34,12 +26,3 @@ impl<'a> IntoIterator for &'a TableRows { self.row_groups.iter() } } - -impl IntoIterator for TableRows { - type Item = Vec; - type IntoIter = std::vec::IntoIter>; - - fn into_iter(self) -> Self::IntoIter { - self.row_groups.into_iter() - } -} -- cgit v1.3.1-4-g156e