From 06368584a9277022d9cfc42d22c37f4cc6e580f8 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 8 Jun 2026 02:23:31 +0900 Subject: refactor(external-packages): drop component segment from symfony paths Align the Symfony namespace mapping with the documented convention (symfony::component::X -> symfony::X) and remove now-unused console stub files. Update all import paths across the workspace. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../src/symfony/console/application.rs | 108 +++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 crates/shirabe-external-packages/src/symfony/console/application.rs (limited to 'crates/shirabe-external-packages/src/symfony/console/application.rs') diff --git a/crates/shirabe-external-packages/src/symfony/console/application.rs b/crates/shirabe-external-packages/src/symfony/console/application.rs new file mode 100644 index 0000000..f937473 --- /dev/null +++ b/crates/shirabe-external-packages/src/symfony/console/application.rs @@ -0,0 +1,108 @@ +use crate::symfony::console::input::InputInterface; +use crate::symfony::console::output::OutputInterface; +use shirabe_php_shim::PhpMixed; + +#[derive(Debug)] +pub struct Application; + +impl Application { + pub fn new(_name: &str, _version: &str) -> Self { + todo!() + } + + pub fn run( + &mut self, + _input: Option>>, + _output: Option>>, + ) -> anyhow::Result { + todo!() + } + + pub fn set_name(&mut self, _name: &str) { + todo!() + } + + pub fn get_name(&self) -> String { + todo!() + } + + pub fn set_version(&mut self, _version: &str) { + todo!() + } + + pub fn get_version(&self) -> String { + todo!() + } + + pub fn add(&mut self, _command: PhpMixed) -> Option { + todo!() + } + + pub fn get(&self, _name: &str) -> anyhow::Result { + todo!() + } + + pub fn set_auto_exit(&mut self, _auto_exit: bool) { + todo!() + } + + pub fn set_catch_exceptions(&mut self, _catch_exceptions: bool) { + todo!() + } + + pub fn get_helper_set(&self) -> PhpMixed { + todo!() + } + + pub fn set_helper_set(&mut self, _helper_set: PhpMixed) { + todo!() + } + + pub fn get_definition(&self) -> PhpMixed { + todo!() + } + + pub fn get_long_version(&self) -> String { + todo!() + } + + pub fn find(&self, _name: &str) -> anyhow::Result { + todo!() + } + + pub fn all(&self, _namespace: Option<&str>) -> Vec { + todo!() + } + + pub fn get_namespaces(&self) -> Vec { + todo!() + } + + pub fn set_default_command( + &mut self, + _command_name: &str, + _is_single_command: bool, + ) -> &mut Self { + todo!() + } + + pub fn is_single_command(&self) -> bool { + todo!() + } + + pub fn render_throwable( + &self, + _exception: &anyhow::Error, + _output: std::rc::Rc>, + ) { + todo!() + } + + pub fn set_catch_errors(&mut self, _catch_errors: bool) { + todo!() + } + + pub fn has(&self, _name: &str) -> bool { + todo!() + } +} -- cgit v1.3.1