aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/io/null_io.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/io/null_io.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/io/null_io.rs')
-rw-r--r--crates/shirabe/src/io/null_io.rs38
1 files changed, 38 insertions, 0 deletions
diff --git a/crates/shirabe/src/io/null_io.rs b/crates/shirabe/src/io/null_io.rs
index af0296d..66f7123 100644
--- a/crates/shirabe/src/io/null_io.rs
+++ b/crates/shirabe/src/io/null_io.rs
@@ -78,6 +78,44 @@ impl IOInterface for NullIO {
) -> PhpMixed {
default
}
+
+ fn write_raw(&self, messages: PhpMixed, newline: bool, verbosity: i64) {
+ <Self as BaseIO>::write_raw(self, messages, newline, verbosity)
+ }
+
+ fn write_error_raw(&self, messages: PhpMixed, newline: bool, verbosity: i64) {
+ <Self as BaseIO>::write_error_raw(self, messages, newline, verbosity)
+ }
+
+ fn get_authentications(
+ &self,
+ ) -> indexmap::IndexMap<String, indexmap::IndexMap<String, Option<String>>> {
+ <Self as BaseIO>::get_authentications(self)
+ }
+
+ fn has_authentication(&self, repository_name: &str) -> bool {
+ <Self as BaseIO>::has_authentication(self, repository_name)
+ }
+
+ fn get_authentication(
+ &self,
+ repository_name: &str,
+ ) -> indexmap::IndexMap<String, Option<String>> {
+ <Self as BaseIO>::get_authentication(self, repository_name)
+ }
+
+ fn set_authentication(
+ &mut self,
+ repository_name: String,
+ username: String,
+ password: Option<String>,
+ ) {
+ <Self as BaseIO>::set_authentication(self, repository_name, username, password)
+ }
+
+ fn load_configuration(&mut self, config: &crate::config::Config) {
+ <Self as BaseIO>::load_configuration(self, config)
+ }
}
impl BaseIO for NullIO {