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/src/repository | |
| 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/src/repository')
| -rw-r--r-- | crates/shirabe/src/repository/repository_manager.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/shirabe/src/repository/repository_manager.rs b/crates/shirabe/src/repository/repository_manager.rs index ee5d2d88..5f74fc90 100644 --- a/crates/shirabe/src/repository/repository_manager.rs +++ b/crates/shirabe/src/repository/repository_manager.rs @@ -131,7 +131,8 @@ impl RepositoryManager { cleaned_config.shift_remove("exclude"); cleaned_config.shift_remove("canonical"); - // Phase B: implement dynamic class instantiation by class name + // PHP instantiates `new $class(...)` dynamically; the port matches on the known + // repository class names instead. let repository = self.create_repository_by_class(&class, cleaned_config)?; if let Some(filter_config) = filter_config { @@ -191,7 +192,7 @@ impl RepositoryManager { )?, )), other => todo!( - "Phase B: dynamic class instantiation by class name: {}", + "dynamic class instantiation is not implemented for repository class {}", other ), } |
