diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-04 05:39:41 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-04 05:56:52 +0900 |
| commit | b45e04865df335a9aedbf2bdd5b17353c1598fa5 (patch) | |
| tree | 076c6eeb6aa06cac8f6b056a86d4f7cb2880a1f0 /crates/shirabe-external-packages/src/symfony/console | |
| parent | 2cb2f128cffb4e664145c9a8a392b9666d014459 (diff) | |
| download | php-shirabe-b45e04865df335a9aedbf2bdd5b17353c1598fa5.tar.gz php-shirabe-b45e04865df335a9aedbf2bdd5b17353c1598fa5.tar.zst php-shirabe-b45e04865df335a9aedbf2bdd5b17353c1598fa5.zip | |
docs: state code facts instead of porting-phase progress
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/console')
3 files changed, 6 insertions, 6 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 f9808878..88c1839b 100644 --- a/crates/shirabe-external-packages/src/symfony/console/command/command.rs +++ b/crates/shirabe-external-packages/src/symfony/console/command/command.rs @@ -63,8 +63,8 @@ impl CommandData { pub fn get_default_name() -> Option<String> { // 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. + // class itself (not inherited). Reflection-based late static binding has no direct + // Rust equivalent; human review needed for the porting strategy. 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 42c920f6..66ab3174 100644 --- a/crates/shirabe-external-packages/src/symfony/console/helper/table.rs +++ b/crates/shirabe-external-packages/src/symfony/console/helper/table.rs @@ -999,8 +999,8 @@ impl Table { } // PHP returns a TableRows wrapping a generator that lazily yields row groups. - // The generator borrows $this to call fillCells(). In Phase A we precompute the - // row groups eagerly to preserve behavior, then hand them to TableRows. + // The generator borrows $this to call fillCells(). Here the row groups are + // precomputed eagerly to preserve behavior, then handed to TableRows. let mut row_groups: Vec<Vec<Row>> = Vec::new(); for (row_key, row) in rows.into_iter().enumerate() { let row_key = row_key as i64; diff --git a/crates/shirabe-external-packages/src/symfony/console/style/symfony_style.rs b/crates/shirabe-external-packages/src/symfony/console/style/symfony_style.rs index 0cc7cf25..9097faff 100644 --- a/crates/shirabe-external-packages/src/symfony/console/style/symfony_style.rs +++ b/crates/shirabe-external-packages/src/symfony/console/style/symfony_style.rs @@ -235,8 +235,8 @@ impl SymfonyStyle { .unwrap() .ask(&mut *input, self.output.clone(), question) }; - // PHP `askQuestion` returns the answer directly; exceptions propagate. Phase B - // collapses the double `Result` by panicking on either error. + // PHP `askQuestion` returns the answer directly; exceptions propagate. The double + // `Result` is collapsed here by panicking on either error. let answer = answer .expect("question helper error") .expect("missing input"); |
