aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src')
-rw-r--r--crates/shirabe/src/console/application.rs2
-rw-r--r--crates/shirabe/src/installer.rs2
-rw-r--r--crates/shirabe/src/json/json_file.rs2
-rw-r--r--crates/shirabe/src/package/locker.rs2
4 files changed, 4 insertions, 4 deletions
diff --git a/crates/shirabe/src/console/application.rs b/crates/shirabe/src/console/application.rs
index 2e93c33d..f5c953da 100644
--- a/crates/shirabe/src/console/application.rs
+++ b/crates/shirabe/src/console/application.rs
@@ -55,7 +55,6 @@ use crate::util::Platform;
use crate::util::Silencer;
use indexmap::IndexMap;
use shirabe_external_packages::composer::xdebug_handler::XdebugHandler;
-use shirabe_external_packages::seld::json_lint::ParsingException;
use shirabe_php_shim::Catch as _;
use shirabe_php_shim::{
LogicException as ShimLogicException, PHP_VERSION, PHP_VERSION_ID, PhpMixed, RuntimeException,
@@ -66,6 +65,7 @@ use shirabe_php_shim::{
php_uname, posix_getuid, random_bytes, realpath, restore_error_handler, round, str_contains,
str_replace, strpos, strtoupper, sys_get_temp_dir, time, unlink,
};
+use shirabe_seld_json_lint::ParsingException;
use shirabe_symfony_console::application::Application as BaseApplication;
use shirabe_symfony_console::command::Command as SymfonyCommand;
use shirabe_symfony_console::command::help_command::HelpCommand;
diff --git a/crates/shirabe/src/installer.rs b/crates/shirabe/src/installer.rs
index 22da3fff..4ff6af3d 100644
--- a/crates/shirabe/src/installer.rs
+++ b/crates/shirabe/src/installer.rs
@@ -34,11 +34,11 @@ pub use suggested_packages_reporter::*;
use crate::io::io_interface;
use indexmap::IndexMap;
-use shirabe_external_packages::seld::json_lint::ParsingException;
use shirabe_php_shim::{
PhpMixed, RuntimeException, array_map, array_unique, implode, intval, is_dir, is_numeric,
strcmp, strpos, strtolower, touch, usort,
};
+use shirabe_seld_json_lint::ParsingException;
use shirabe_semver;
use crate::advisory::AuditConfig;
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 {
diff --git a/crates/shirabe/src/package/locker.rs b/crates/shirabe/src/package/locker.rs
index 67b2d5b4..ccfb2ddf 100644
--- a/crates/shirabe/src/package/locker.rs
+++ b/crates/shirabe/src/package/locker.rs
@@ -24,7 +24,6 @@ use crate::repository::RootPackageRepository;
use crate::util::Git as GitUtil;
use crate::util::ProcessExecutor;
use indexmap::IndexMap;
-use shirabe_external_packages::seld::json_lint::ParsingException;
use shirabe_pcre::{CaptureKey, Preg};
use shirabe_php_shim::Catch as _;
use shirabe_php_shim::{
@@ -32,6 +31,7 @@ use shirabe_php_shim::{
array_map, array_merge, file_get_contents, filemtime, function_exists, hash, in_array_loose,
is_int, ksort, php_regex, realpath, strcmp, strtolower, touch2, trim, usort,
};
+use shirabe_seld_json_lint::ParsingException;
/// Reads/writes project lockfile (composer.lock).
#[derive(Debug)]