aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/installer/binary_installer.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-17 14:33:13 +0900
committernsfisis <nsfisis@gmail.com>2026-05-17 14:38:16 +0900
commit3e21569688cf0c8a1918c73ff96cb1b3aeffe0b3 (patch)
tree712ae7832124da20739f5b389cebe4f44abd7225 /crates/shirabe/src/installer/binary_installer.rs
parentac59538140a93d9a023da2115148bc9779223978 (diff)
downloadphp-shirabe-3e21569688cf0c8a1918c73ff96cb1b3aeffe0b3.tar.gz
php-shirabe-3e21569688cf0c8a1918c73ff96cb1b3aeffe0b3.tar.zst
php-shirabe-3e21569688cf0c8a1918c73ff96cb1b3aeffe0b3.zip
fix(compile): extract constants from traits to make them dyn-compatible
Diffstat (limited to 'crates/shirabe/src/installer/binary_installer.rs')
-rw-r--r--crates/shirabe/src/installer/binary_installer.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/crates/shirabe/src/installer/binary_installer.rs b/crates/shirabe/src/installer/binary_installer.rs
index 0e5b3d9..243dde0 100644
--- a/crates/shirabe/src/installer/binary_installer.rs
+++ b/crates/shirabe/src/installer/binary_installer.rs
@@ -1,5 +1,6 @@
//! ref: composer/src/Composer/Installer/BinaryInstaller.php
+use crate::io::io_interface;
use shirabe_external_packages::composer::pcre::preg::Preg;
use shirabe_php_shim::{
PhpMixed, basename, basename_with_suffix, chmod, dirname, fclose, fgets, file_exists,
@@ -65,7 +66,7 @@ impl BinaryInstaller {
package.get_name(),
)),
true,
- IOInterface::NORMAL,
+ io_interface::NORMAL,
);
continue;
}
@@ -77,7 +78,7 @@ impl BinaryInstaller {
package.get_name(),
)),
true,
- IOInterface::NORMAL,
+ io_interface::NORMAL,
);
continue;
}
@@ -100,7 +101,7 @@ impl BinaryInstaller {
package.get_name(),
)),
true,
- IOInterface::NORMAL,
+ io_interface::NORMAL,
);
}
continue;
@@ -200,7 +201,7 @@ impl BinaryInstaller {
package.get_name(),
)),
true,
- IOInterface::NORMAL,
+ io_interface::NORMAL,
);
}
}