diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-07-20 03:24:57 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-07-20 03:24:57 +0900 |
| commit | 96a8ff0513ae7b012b3e4ba8e43a3eca71847458 (patch) | |
| tree | f0512378e35aed815051dd2a47839c88a63a7e9c /crates/shirabe/tests/question/main.rs | |
| parent | 3f4efd805d0a530e3f515720131c6fbce2c3d31c (diff) | |
| download | php-shirabe-96a8ff0513ae7b012b3e4ba8e43a3eca71847458.tar.gz php-shirabe-96a8ff0513ae7b012b3e4ba8e43a3eca71847458.tar.zst php-shirabe-96a8ff0513ae7b012b3e4ba8e43a3eca71847458.zip | |
fix(remote-filesystem): read scheme-less local paths in get_remote_contents
PHP's getRemoteContents calls file_get_contents unconditionally: the
same stream wrapper reads file:// URLs, plain local paths and network
schemes. The Rust port only handled the explicit "file" scheme, so a
scheme-less local packages.json repository failed with "file could not
be downloaded". Extend the local branch to empty schemes; the http(s)
stub is unchanged.
This clears the first blocker of the create-project functional test;
its ignore reason now documents the remaining ones (live network and
Glob::to_regex emitting PCRE lookaheads the regex crate cannot
compile), which need a user decision.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/question/main.rs')
0 files changed, 0 insertions, 0 deletions
