From 35690acf83fa4473311a18e970ecd8156e1e6ac0 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 17 May 2026 10:09:10 +0900 Subject: fix(shirabe): correct invalid import paths and add missing dependency --- crates/shirabe/src/json/json_file.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 92c3428..89cfbb1 100644 --- a/crates/shirabe/src/json/json_file.rs +++ b/crates/shirabe/src/json/json_file.rs @@ -1,5 +1,6 @@ //! ref: composer/src/Composer/Json/JsonFile.php +use crate::util::silencer::Silencer; use anyhow::Result; use shirabe_external_packages::composer::pcre::preg::Preg; use shirabe_external_packages::json_schema::validator::Validator; @@ -9,11 +10,10 @@ 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, 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, + 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; -- cgit v1.3.1