aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/stream_context_factory.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/util/stream_context_factory.rs')
-rw-r--r--crates/shirabe/src/util/stream_context_factory.rs13
1 files changed, 6 insertions, 7 deletions
diff --git a/crates/shirabe/src/util/stream_context_factory.rs b/crates/shirabe/src/util/stream_context_factory.rs
index 0b259d7..6a40cd0 100644
--- a/crates/shirabe/src/util/stream_context_factory.rs
+++ b/crates/shirabe/src/util/stream_context_factory.rs
@@ -1,5 +1,11 @@
//! ref: composer/src/Composer/Util/StreamContextFactory.php
+use crate::composer;
+use crate::downloader::TransportException;
+use crate::repository::PlatformRepository;
+use crate::util::Filesystem;
+use crate::util::Platform;
+use crate::util::http::ProxyManager;
use indexmap::IndexMap;
use shirabe_external_packages::composer::ca_bundle::CaBundle;
use shirabe_php_shim::{
@@ -8,13 +14,6 @@ use shirabe_php_shim::{
stripos, uasort,
};
-use crate::composer;
-use crate::downloader::TransportException;
-use crate::repository::PlatformRepository;
-use crate::util::Filesystem;
-use crate::util::Platform;
-use crate::util::http::ProxyManager;
-
pub struct StreamContextFactory;
impl StreamContextFactory {