From 561924db750cbb4e4c183f9616472ed9a5b0fc7f Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 12 Aug 2026 00:19:10 +0900 Subject: docs(todo): retag TODO markers by root cause Co-Authored-By: Claude Opus 5 (1M context) --- crates/shirabe-php-shim/src/stream.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/shirabe-php-shim/src/stream.rs') diff --git a/crates/shirabe-php-shim/src/stream.rs b/crates/shirabe-php-shim/src/stream.rs index 6ecf80f5..bd5e10af 100644 --- a/crates/shirabe-php-shim/src/stream.rs +++ b/crates/shirabe-php-shim/src/stream.rs @@ -7,7 +7,7 @@ pub const STREAM_NOTIFY_FILE_SIZE_IS: i64 = 5; pub const STREAM_NOTIFY_PROGRESS: i64 = 7; /// PHP `stream_get_contents()`: read the remaining bytes from the stream's current position. -/// TODO(phase-e): byte-string semantics — should return Vec; from_utf8_lossy can corrupt +/// TODO(bytes): byte-string semantics — should return Vec; from_utf8_lossy can corrupt /// binary reads. pub fn stream_get_contents(stream: &PhpResource) -> Option { stream_read_remaining(stream, None) @@ -80,7 +80,7 @@ pub fn stream_isatty(stream: PhpResource) -> bool { /// PHP `stream_is_local()`: true for plain paths and the `file://` wrapper, false for remote /// wrappers (`http://`, `ftp://`, ...). -/// TODO(phase-c): PHP asks the wrapper registered for the path's scheme whether it is flagged +/// TODO(php-semantics): PHP asks the wrapper registered for the path's scheme whether it is flagged /// `STREAM_IS_URL`; this classifies by the scheme itself, so a registered custom wrapper claiming to /// be local (or vice versa) comes out differently than in PHP. pub fn stream_is_local(path: &str) -> bool { -- cgit v1.3.1-4-g156e