From 6051927c8fa32cfffa102d2a170c5a6cf747a1b9 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 9 Aug 2026 11:19:03 +0900 Subject: refactor(symfony-console): extract symfony/console into the shirabe-symfony-console crate Move `Symfony\Component\Console` out of shirabe-external-packages and into its own crate, so the path is `shirabe_symfony_console::application::Application` instead of `shirabe_external_packages::symfony::console::application::Application`. The `delegate_to_inner!` and `delegate_command_trait_impls_to_inner!` macros move with it. Co-Authored-By: Claude Opus 5 (1M context) --- crates/shirabe/tests/installer_test.rs | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 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 4c6ce981..295d9250 100644 --- a/crates/shirabe/tests/installer_test.rs +++ b/crates/shirabe/tests/installer_test.rs @@ -42,20 +42,18 @@ use shirabe::util::r#loop::Loop; use shirabe::util::platform::Platform; use shirabe::util::process_executor::ProcessExecutor; use shirabe_class_map_generator::class_map::ClassMap; -use shirabe_external_packages::symfony::console::command::command::Command as SymfonyCommand; -use shirabe_external_packages::symfony::console::command::command::CommandData; -use shirabe_external_packages::symfony::console::input::input_argument::InputArgument; -use shirabe_external_packages::symfony::console::input::input_interface::InputInterface; -use shirabe_external_packages::symfony::console::input::input_option::InputOption; -use shirabe_external_packages::symfony::console::input::string_input::StringInput; -use shirabe_external_packages::symfony::console::output::output_interface::{ - OutputInterface, VERBOSITY_NORMAL, -}; -use shirabe_external_packages::symfony::console::output::stream_output::StreamOutput; 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; // 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