diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-20 03:08:31 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-20 03:09:22 +0900 |
| commit | 25fa6c6b079b100f1c3970662d06d63bd741c1f0 (patch) | |
| tree | fb564230eb241d11e9616119ae5badc45e8caf30 /crates/shirabe/src/util/http | |
| parent | 7d06a493514c20338278c8ffdf0ba2e0f0eed353 (diff) | |
| download | php-shirabe-25fa6c6b079b100f1c3970662d06d63bd741c1f0.tar.gz php-shirabe-25fa6c6b079b100f1c3970662d06d63bd741c1f0.tar.zst php-shirabe-25fa6c6b079b100f1c3970662d06d63bd741c1f0.zip | |
refactor(package-discovery): extend BaseCommand as supertrait
PHP's PackageDiscoveryTrait is mixed into classes extending BaseCommand
and calls its methods directly. Model that with a supertrait bound so
get_io, try_composer, require_composer, get_platform_requirement_filter
and normalize_requirements come from BaseCommand instead of being
redeclared and delegated per command. Propagate the Result returns at
the call sites and drop the now-redundant per-command impls.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/util/http')
0 files changed, 0 insertions, 0 deletions
