diff options
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/console')
3 files changed, 7 insertions, 7 deletions
diff --git a/crates/shirabe-external-packages/src/symfony/console/command/command.rs b/crates/shirabe-external-packages/src/symfony/console/command/command.rs index 2af60db0..f9808878 100644 --- a/crates/shirabe-external-packages/src/symfony/console/command/command.rs +++ b/crates/shirabe-external-packages/src/symfony/console/command/command.rs @@ -61,7 +61,7 @@ impl CommandData { pub const DEFAULT_DESCRIPTION: Option<&'static str> = None; pub fn get_default_name() -> Option<String> { - // TODO(review): PHP uses ReflectionClass to read the #[AsCommand] attribute + // TODO(phase-c): PHP uses ReflectionClass to read the #[AsCommand] attribute // and ReflectionProperty to check that `$defaultName` is declared on the late-static // class itself (not inherited). Reflection-based late static binding cannot be // reproduced in Phase A; human review needed for the porting strategy. @@ -69,7 +69,7 @@ impl CommandData { } pub fn get_default_description() -> Option<String> { - // TODO(review): same Reflection/late-static-binding concern as get_default_name(). + // TODO(phase-c): same Reflection/late-static-binding concern as get_default_name(). todo!() } @@ -429,7 +429,7 @@ pub trait Command: std::fmt::Debug + shirabe_php_shim::AsAny + shirabe_php_shim: self.initialize(input.clone(), output.clone())?; if let Some(process_title) = self.get_process_title() { - // TODO: PHP probes for cli_set_process_title / setproctitle availability. + // TODO(phase-c): PHP probes for cli_set_process_title / setproctitle availability. if shirabe_php_shim::function_exists("cli_set_process_title") { if !shirabe_php_shim::cli_set_process_title(&process_title) { if shirabe_php_shim::PHP_OS == "Darwin" { @@ -874,7 +874,7 @@ impl Command for CommandData { &self, code: Box<dyn Fn(&mut dyn InputInterface, &mut dyn OutputInterface) -> PhpMixed>, ) { - // TODO: PHP rebinds an unbound Closure's $this to the command instance via + // TODO(php-runtime): PHP rebinds an unbound Closure's $this to the command instance via // ReflectionFunction/Closure::bind. Rust closures have no `$this` rebinding; // the closure is stored as-is. *self.code.borrow_mut() = Some(code); diff --git a/crates/shirabe-external-packages/src/symfony/console/formatter/output_formatter.rs b/crates/shirabe-external-packages/src/symfony/console/formatter/output_formatter.rs index 6651d9cd..bb04f61d 100644 --- a/crates/shirabe-external-packages/src/symfony/console/formatter/output_formatter.rs +++ b/crates/shirabe-external-packages/src/symfony/console/formatter/output_formatter.rs @@ -255,7 +255,7 @@ impl OutputFormatterInterface for OutputFormatter { // PHP returns the shared style instance; ownership cannot be expressed without Clone on // the trait object. - // TODO(human-review): returning a shared style here needs an Rc/Clone strategy in Phase C. + // TODO(phase-c): returning a shared style here needs an Rc/Clone strategy in Phase C. let _ = &self.styles[&shirabe_php_shim::strtolower(name)]; todo!() } diff --git a/crates/shirabe-external-packages/src/symfony/console/helper/table.rs b/crates/shirabe-external-packages/src/symfony/console/helper/table.rs index 99c1b6ea..42c920f6 100644 --- a/crates/shirabe-external-packages/src/symfony/console/helper/table.rs +++ b/crates/shirabe-external-packages/src/symfony/console/helper/table.rs @@ -465,7 +465,7 @@ impl Table { } if self.rendered { - // TODO(phase-b): downcast output to ConsoleSectionOutput to call clear(). + // TODO(phase-c): downcast output to ConsoleSectionOutput to call clear(). let _ = ConsoleSectionOutput::clear; let row_count = self.calculate_row_count(); let _ = row_count; @@ -482,7 +482,7 @@ impl Table { // PHP indexes $this->rows by arbitrary key; sparse assignment over a positional Vec is not // modeled and has no callers. let _ = (column, row); - // TODO(phase-d): sparse `$this->rows[$column] = $row` over a positional row vector. + // TODO(phase-c): sparse `$this->rows[$column] = $row` over a positional row vector. todo!() } |
