aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-class-map-generator
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-07 18:47:59 +0900
committernsfisis <nsfisis@gmail.com>2026-06-07 19:29:26 +0900
commite8d6a57d157ab778108bcb044a3dfa5952d4a5ae (patch)
treeeaa30eeee79b2c04ca95be843ae6a9dda69af246 /crates/shirabe-class-map-generator
parentb8a50e25aafb51a6d73f9695362854cc5ed58117 (diff)
downloadphp-shirabe-e8d6a57d157ab778108bcb044a3dfa5952d4a5ae.tar.gz
php-shirabe-e8d6a57d157ab778108bcb044a3dfa5952d4a5ae.tar.zst
php-shirabe-e8d6a57d157ab778108bcb044a3dfa5952d4a5ae.zip
feat(phase-c): resolve dynamic-dispatch phase-b TODOs
Replace the PHP `call_user_func([$obj, $method], ...)` / `$obj->{'get'.$x}()` dynamic dispatches (category E) with static Rust dispatch. - json_config_source: inject the clean-update as a typed `FnOnce(&mut JsonManipulator) -> Result<bool>` closure instead of a method-name string, dropping the call_user_func_array round-trip through PhpMixed args. The auth-config method override moves into the add/remove_config_setting closures. - config_command: dispatch addConfigSetting/addProperty on the concrete JsonConfigSource via match. - locker: select getRequires/getDevRequires and getReplaces/getProvides via match on the existing handle getters (previously stubbed to empty Vec). - create_project_command: reuse the existing get_links_for_type helper. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-class-map-generator')
0 files changed, 0 insertions, 0 deletions