diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-07-02 01:10:35 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-07-02 01:10:35 +0900 |
| commit | dda045eb663524b40e277047e3cea301738e5c26 (patch) | |
| tree | fab4c1a489c2b2f8010a34a79d3119bb0f1ce9b9 /crates/shirabe/tests/command/check_platform_reqs_command_test.rs | |
| parent | 1e849939b9f92fc04c2343cc5770d1f55ab71f66 (diff) | |
| download | php-shirabe-dda045eb663524b40e277047e3cea301738e5c26.tar.gz php-shirabe-dda045eb663524b40e277047e3cea301738e5c26.tar.zst php-shirabe-dda045eb663524b40e277047e3cea301738e5c26.zip | |
fix(platform-repository): wire ensure_initialized into RepositoryInterface
PlatformRepository::initialize() (php-version/extension detection) was
never invoked: the RepositoryInterface impl delegated straight to the
inner ArrayRepository without the ensure_initialized lazy-init guard
that sibling repositories (FilesystemRepository, PathRepository) use.
As a result pool.what_provides("php") was always empty, and any
package requiring php failed platform resolution. Also fixes the
trait search() bypassing PlatformRepository's own SEARCH_VENDOR
override.
Diffstat (limited to 'crates/shirabe/tests/command/check_platform_reqs_command_test.rs')
0 files changed, 0 insertions, 0 deletions
