diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-17 10:09:10 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-17 10:16:10 +0900 |
| commit | 35690acf83fa4473311a18e970ecd8156e1e6ac0 (patch) | |
| tree | 241e3661437c8f40890716cf428cea1387957262 /crates/shirabe/src/json | |
| parent | e85c1c6c86a42b9aee5687b943743520fc677844 (diff) | |
| download | php-shirabe-35690acf83fa4473311a18e970ecd8156e1e6ac0.tar.gz php-shirabe-35690acf83fa4473311a18e970ecd8156e1e6ac0.tar.zst php-shirabe-35690acf83fa4473311a18e970ecd8156e1e6ac0.zip | |
fix(shirabe): correct invalid import paths and add missing dependency
Diffstat (limited to 'crates/shirabe/src/json')
| -rw-r--r-- | crates/shirabe/src/json/json_file.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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; |
