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/descriptor/text_descriptor.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'crates/shirabe-symfony-console/src/descriptor/text_descriptor.rs') diff --git a/crates/shirabe-symfony-console/src/descriptor/text_descriptor.rs b/crates/shirabe-symfony-console/src/descriptor/text_descriptor.rs index 3ea09355..0308415f 100644 --- a/crates/shirabe-symfony-console/src/descriptor/text_descriptor.rs +++ b/crates/shirabe-symfony-console/src/descriptor/text_descriptor.rs @@ -1,16 +1,16 @@ //! ref: composer/vendor/symfony/console/Descriptor/TextDescriptor.php use crate::application::Application; -use crate::command::command::Command; -use crate::descriptor::application_description::ApplicationDescription; -use crate::descriptor::descriptor::Descriptor; -use crate::descriptor::descriptor_interface::{DescribableObject, DescriptorInterface}; -use crate::formatter::output_formatter::OutputFormatter; -use crate::helper::helper::Helper; -use crate::input::input_argument::InputArgument; -use crate::input::input_definition::InputDefinition; -use crate::input::input_option::InputOption; -use crate::output::output_interface::OutputInterface; +use crate::command::Command; +use crate::descriptor::ApplicationDescription; +use crate::descriptor::Descriptor; +use crate::descriptor::{DescribableObject, DescriptorInterface}; +use crate::formatter::OutputFormatter; +use crate::helper::Helper; +use crate::input::InputArgument; +use crate::input::InputDefinition; +use crate::input::InputOption; +use crate::output::OutputInterface; use indexmap::IndexMap; use shirabe_pcre::preg::Preg; use shirabe_php_shim::PhpMixed; -- cgit v1.3.1-4-g156e