aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/json/json_file.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-17 09:59:32 +0900
committernsfisis <nsfisis@gmail.com>2026-05-17 09:59:40 +0900
commite85c1c6c86a42b9aee5687b943743520fc677844 (patch)
tree3cffb2b29c77e9558190b8ed8d063f6f582e5280 /crates/shirabe/src/json/json_file.rs
parent8fb6de392bbac104c07a5cdbac12a4fd25ab1127 (diff)
downloadphp-shirabe-e85c1c6c86a42b9aee5687b943743520fc677844.tar.gz
php-shirabe-e85c1c6c86a42b9aee5687b943743520fc677844.tar.zst
php-shirabe-e85c1c6c86a42b9aee5687b943743520fc677844.zip
fix(php-shim): add missing stub functions, constants, and types
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/json/json_file.rs')
-rw-r--r--crates/shirabe/src/json/json_file.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/crates/shirabe/src/json/json_file.rs b/crates/shirabe/src/json/json_file.rs
index cdb9ba7..92c3428 100644
--- a/crates/shirabe/src/json/json_file.rs
+++ b/crates/shirabe/src/json/json_file.rs
@@ -8,11 +8,12 @@ use shirabe_external_packages::seld::json_lint::parsing_exception::ParsingExcept
use shirabe_php_shim::{
InvalidArgumentException, JSON_ERROR_CTRL_CHAR, JSON_ERROR_DEPTH, JSON_ERROR_NONE,
JSON_ERROR_STATE_MISMATCH, JSON_ERROR_UTF8, JSON_PRETTY_PRINT, JSON_UNESCAPED_SLASHES,
- JSON_UNESCAPED_UNICODE, PhpMixed, RuntimeException, Silencer, UnexpectedValueException,
- defined, dirname, file_exists, file_get_contents, file_put_contents, is_dir, is_file,
- json_decode, json_encode_ex, json_last_error, mkdir, php_dir, realpath, str_contains,
- str_ends_with, str_repeat, strlen, strpos, usleep,
+ JSON_UNESCAPED_UNICODE, PhpMixed, RuntimeException, UnexpectedValueException, defined, dirname,
+ file_exists, file_get_contents, file_put_contents, is_dir, is_file, json_decode, json_encode_ex,
+ json_last_error, mkdir, php_dir, realpath, str_contains, str_ends_with, str_repeat, strlen,
+ strpos, usleep,
};
+use crate::util::silencer::Silencer;
use crate::downloader::transport_exception::TransportException;
use crate::io::io_interface::IOInterface;