diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-10 04:38:35 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-10 04:38:35 +0900 |
| commit | 9d9da0d1512202af7802d13b1c3c33a1a077a84e (patch) | |
| tree | abe363b266a61da1713c6a16702b84ea68c70882 /crates/shirabe-symfony-console/src/command/help_command.rs | |
| parent | f38080643d80b258393f2b7ab20349b122fe4591 (diff) | |
| download | php-shirabe-9d9da0d1512202af7802d13b1c3c33a1a077a84e.tar.gz php-shirabe-9d9da0d1512202af7802d13b1c3c33a1a077a84e.tar.zst php-shirabe-9d9da0d1512202af7802d13b1c3c33a1a077a84e.zip | |
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) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-symfony-console/src/command/help_command.rs')
| -rw-r--r-- | crates/shirabe-symfony-console/src/command/help_command.rs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/crates/shirabe-symfony-console/src/command/help_command.rs b/crates/shirabe-symfony-console/src/command/help_command.rs index 9472d144..4f1447cb 100644 --- a/crates/shirabe-symfony-console/src/command/help_command.rs +++ b/crates/shirabe-symfony-console/src/command/help_command.rs @@ -1,16 +1,16 @@ //! ref: composer/vendor/symfony/console/Command/HelpCommand.php -use crate::command::command::{Command, CommandData, SetDefinitionArg}; -use crate::completion::completion_input::CompletionInput; -use crate::completion::completion_suggestions::{CompletionSuggestions, StringOrSuggestion}; -use crate::descriptor::application_description::ApplicationDescription; -use crate::descriptor::descriptor_interface::DescribableObject; -use crate::helper::descriptor_helper::DescriptorHelper; -use crate::input::input_argument::InputArgument; -use crate::input::input_definition::DefinitionItem; -use crate::input::input_interface::InputInterface; -use crate::input::input_option::InputOption; -use crate::output::output_interface::OutputInterface; +use crate::command::{Command, CommandData, SetDefinitionArg}; +use crate::completion::CompletionInput; +use crate::completion::{CompletionSuggestions, StringOrSuggestion}; +use crate::descriptor::ApplicationDescription; +use crate::descriptor::DescribableObject; +use crate::helper::DescriptorHelper; +use crate::input::DefinitionItem; +use crate::input::InputArgument; +use crate::input::InputInterface; +use crate::input::InputOption; +use crate::output::OutputInterface; use shirabe_php_shim::{PhpMixed, impl_php_class}; use std::ops::{Deref, DerefMut}; |
