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/src/json/json_file.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/shirabe/src/json') diff --git a/crates/shirabe/src/json/json_file.rs b/crates/shirabe/src/json/json_file.rs index 86dc0a2b..652f1d89 100644 --- a/crates/shirabe/src/json/json_file.rs +++ b/crates/shirabe/src/json/json_file.rs @@ -517,10 +517,10 @@ impl JsonFile { /// @throws ParsingException /// @return bool true on success pub(crate) fn validate_syntax(json: &str, file: Option<&str>) -> anyhow::Result { - // TODO(phase-c): make json_decode() returns an error object with details. + // TODO(php-semantics): make json_decode() returns an error object with details. let error = match serde_json::from_str::(json) { Ok(_) => { - // TODO(phase-c): Rust's &str is guaranteed as UTF-8, but PHP string is not. Change `json` + // TODO(bytes): Rust's &str is guaranteed as UTF-8, but PHP string is not. Change `json` // to &[u8] and check UTF-8 validity here. // if (defined('JSON_ERROR_UTF8') && JSON_ERROR_UTF8 === json_last_error()) { -- cgit v1.3.1-4-g156e