From 9d9da0d1512202af7802d13b1c3c33a1a077a84e Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 10 Aug 2026 04:38:35 +0900 Subject: refactor(symfony): hide leaf modules behind their parent re-exports Every parent module in the symfony-* crates already re-exported its leaf modules with `pub use`, so each item was reachable by two paths. Make the leaf modules private and route all callers through the single re-exported path. Co-Authored-By: Claude Opus 5 (1M context) --- .../src/helper/question_helper.rs | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'crates/shirabe-symfony-console/src/helper/question_helper.rs') diff --git a/crates/shirabe-symfony-console/src/helper/question_helper.rs b/crates/shirabe-symfony-console/src/helper/question_helper.rs index 6ee83702..662edf40 100644 --- a/crates/shirabe-symfony-console/src/helper/question_helper.rs +++ b/crates/shirabe-symfony-console/src/helper/question_helper.rs @@ -1,20 +1,20 @@ //! ref: composer/vendor/symfony/console/Helper/QuestionHelper.php use crate::cursor::Cursor; -use crate::exception::missing_input_exception::MissingInputException; -use crate::exception::runtime_exception::RuntimeException; -use crate::formatter::output_formatter::OutputFormatter; -use crate::formatter::output_formatter_style::OutputFormatterStyle; -use crate::helper::formatter_helper::FormatBlockMessages; -use crate::helper::helper::Helper; -use crate::helper::helper_interface::HelperInterface; -use crate::helper::helper_set::HelperSet; -use crate::input::input_interface::InputInterface; -use crate::output::console_output::ConsoleOutput; -use crate::output::console_output_interface::ConsoleOutputInterface; -use crate::output::console_section_output::ConsoleSectionOutput; +use crate::exception::MissingInputException; +use crate::exception::RuntimeException; +use crate::formatter::OutputFormatter; +use crate::formatter::OutputFormatterStyle; +use crate::helper::FormatBlockMessages; +use crate::helper::Helper; +use crate::helper::HelperInterface; +use crate::helper::HelperSet; +use crate::input::InputInterface; +use crate::output::ConsoleOutput; +use crate::output::ConsoleOutputInterface; +use crate::output::ConsoleSectionOutput; +use crate::output::OutputInterface; use crate::output::output_interface; -use crate::output::output_interface::OutputInterface; use crate::question::ChoiceQuestion; use crate::question::QuestionInterface; use crate::terminal::Terminal; -- cgit v1.3.1-4-g156e