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) --- crates/shirabe/tests/installer_test.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'crates/shirabe/tests/installer_test.rs') diff --git a/crates/shirabe/tests/installer_test.rs b/crates/shirabe/tests/installer_test.rs index 295d9250..b6d19b10 100644 --- a/crates/shirabe/tests/installer_test.rs +++ b/crates/shirabe/tests/installer_test.rs @@ -46,14 +46,14 @@ use shirabe_pcre::preg::Preg; use shirabe_php_shim::{PREG_SPLIT_DELIM_CAPTURE, PhpMixed, php_regex}; use shirabe_semver::VersionParser; use shirabe_semver::constraint::AnyConstraint; -use shirabe_symfony_console::command::command::Command as SymfonyCommand; -use shirabe_symfony_console::command::command::CommandData; -use shirabe_symfony_console::input::input_argument::InputArgument; -use shirabe_symfony_console::input::input_interface::InputInterface; -use shirabe_symfony_console::input::input_option::InputOption; -use shirabe_symfony_console::input::string_input::StringInput; -use shirabe_symfony_console::output::output_interface::{OutputInterface, VERBOSITY_NORMAL}; -use shirabe_symfony_console::output::stream_output::StreamOutput; +use shirabe_symfony_console::command::Command as SymfonyCommand; +use shirabe_symfony_console::command::CommandData; +use shirabe_symfony_console::input::InputArgument; +use shirabe_symfony_console::input::InputInterface; +use shirabe_symfony_console::input::InputOption; +use shirabe_symfony_console::input::StringInput; +use shirabe_symfony_console::output::StreamOutput; +use shirabe_symfony_console::output::{OutputInterface, VERBOSITY_NORMAL}; // removeDirectory of tempComposerHome (a path produced by the unported install pipeline) is not // ported; the cwd management (setUp's chdir(__DIR__) / tearDown's chdir($this->prevCwd)) and the -- cgit v1.3.1-4-g156e