aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/autoload/class_loader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/autoload/class_loader.rs')
-rw-r--r--crates/shirabe/src/autoload/class_loader.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/shirabe/src/autoload/class_loader.rs b/crates/shirabe/src/autoload/class_loader.rs
index 3889ca0..3ebb7a7 100644
--- a/crates/shirabe/src/autoload/class_loader.rs
+++ b/crates/shirabe/src/autoload/class_loader.rs
@@ -1,13 +1,12 @@
//! ref: composer/src/Composer/Autoload/ClassLoader.php
use indexmap::IndexMap;
-use std::sync::{LazyLock, Mutex};
-
use shirabe_php_shim::{
DIRECTORY_SEPARATOR, InvalidArgumentException, PhpMixed, defined, file_exists, include_file,
spl_autoload_register, spl_autoload_unregister, stream_resolve_include_path, strlen, strpos,
strrpos, strtr, substr,
};
+use std::sync::{LazyLock, Mutex};
/// @var array<string, self>
static REGISTERED_LOADERS: LazyLock<Mutex<IndexMap<String, ClassLoader>>> =