diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-03 01:57:34 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-03 01:57:34 +0900 |
| commit | 26daafaae3713cd94ce32354e6404d95e06c568c (patch) | |
| tree | c2accce206af3492f12317ff8674acf5444b3425 /crates/shirabe-php-shim | |
| parent | 8888e4b8bfeb41e4edd45ab47db8a293e93ded3f (diff) | |
| download | php-shirabe-26daafaae3713cd94ce32354e6404d95e06c568c.tar.gz php-shirabe-26daafaae3713cd94ce32354e6404d95e06c568c.tar.zst php-shirabe-26daafaae3713cd94ce32354e6404d95e06c568c.zip | |
feat(downcast): wire package/repo/filter instanceof checks via existing handle/as_any
Resolve three category-4 TODO(phase-b) placeholders that were short-circuited
to None/true, by routing them through downcast mechanisms that already exist:
- package_sorter: PackageInterfaceHandle::as_root() for the
instanceof RootPackageInterface check that adds dev-requires
- platform_repository::is_complete_package: as_complete().is_some(),
consistent with the inlined check already in add_package
- create_project_command: PlatformRequirementFilterInterface::as_any()
downcast to IgnoreAllPlatformRequirementFilter
No new trait infrastructure introduced.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-php-shim')
0 files changed, 0 insertions, 0 deletions
