diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-09 11:20:24 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-09 11:20:24 +0900 |
| commit | a8a4b54b90e6433cf4a25a88a4765243f831ebef (patch) | |
| tree | 91cceee5d792c6973e7a053a36d60441ce30bf64 /crates/shirabe/src/json | |
| parent | 6051927c8fa32cfffa102d2a170c5a6cf747a1b9 (diff) | |
| download | php-shirabe-a8a4b54b90e6433cf4a25a88a4765243f831ebef.tar.gz php-shirabe-a8a4b54b90e6433cf4a25a88a4765243f831ebef.tar.zst php-shirabe-a8a4b54b90e6433cf4a25a88a4765243f831ebef.zip | |
refactor(seld-json-lint): extract seld/json_lint into the shirabe-seld-json-lint crate
Move `Seld\JsonLint` out of shirabe-external-packages and into its own
crate, so the path is `shirabe_seld_json_lint::ParsingException` instead
of `shirabe_external_packages::seld::json_lint::ParsingException`.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/json')
| -rw-r--r-- | crates/shirabe/src/json/json_file.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/json/json_file.rs b/crates/shirabe/src/json/json_file.rs index f506a831..b08a7a97 100644 --- a/crates/shirabe/src/json/json_file.rs +++ b/crates/shirabe/src/json/json_file.rs @@ -9,7 +9,6 @@ use crate::util::Filesystem; use crate::util::HttpDownloader; use crate::util::Silencer; use indexmap::IndexMap; -use shirabe_external_packages::seld::json_lint::{ParsingException, ParsingExceptionDetails}; use shirabe_pcre::{CaptureKey, Preg}; use shirabe_php_shim::Catch as _; use shirabe_php_shim::{ @@ -18,6 +17,7 @@ use shirabe_php_shim::{ file_put_contents, is_dir, is_file, json_decode, json_encode_ex, mkdir, php_regex, realpath, str_contains, str_ends_with, str_repeat, strlen, strpos, usleep, }; +use shirabe_seld_json_lint::{ParsingException, ParsingExceptionDetails}; #[derive(Debug, Clone)] pub struct JsonEncodeOptions { |
