diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-30 01:23:13 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-30 01:23:13 +0900 |
| commit | 2b1c6c58a8c9e9afa8ba54214bc0bee48b06142f (patch) | |
| tree | cd4c272651e8a2727debf89e24f09e1c29b18fbc /crates/shirabe/src/json.rs | |
| parent | 91ccd49cf68bca199e7d41fa65a4a3b0d1368127 (diff) | |
| download | php-shirabe-2b1c6c58a8c9e9afa8ba54214bc0bee48b06142f.tar.gz php-shirabe-2b1c6c58a8c9e9afa8ba54214bc0bee48b06142f.tar.zst php-shirabe-2b1c6c58a8c9e9afa8ba54214bc0bee48b06142f.zip | |
refactor(git): replace is_callable with RunCommandOutput trait
Model Git::runCommand's mixed $commandOutput parameter with the
RunCommandOutput trait (one impl per PHP mode: discard, by-ref capture,
callable handler), mirroring ProcessExecutor's IntoExecOutput. This moves
the is_callable($commandOutput) value-inspection into the type system and
drops the dependency on the shim's incomplete is_callable.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/json.rs')
0 files changed, 0 insertions, 0 deletions
