aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command/require_command.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-17 15:14:11 +0900
committernsfisis <nsfisis@gmail.com>2026-05-17 15:14:11 +0900
commit7ce605a6c9f2c59da97f5a288848c204c3e00eba (patch)
tree81b93e738770e46e2d829d16dd4bd27d9f8e06ef /crates/shirabe/src/command/require_command.rs
parent748e741f740ac46ec40e42679aba3b07927709c0 (diff)
downloadphp-shirabe-7ce605a6c9f2c59da97f5a288848c204c3e00eba.tar.gz
php-shirabe-7ce605a6c9f2c59da97f5a288848c204c3e00eba.tar.zst
php-shirabe-7ce605a6c9f2c59da97f5a288848c204c3e00eba.zip
fix(compile): add stubs for missing trait implementations
Diffstat (limited to 'crates/shirabe/src/command/require_command.rs')
-rw-r--r--crates/shirabe/src/command/require_command.rs48
1 files changed, 46 insertions, 2 deletions
diff --git a/crates/shirabe/src/command/require_command.rs b/crates/shirabe/src/command/require_command.rs
index 70c3651..003673d 100644
--- a/crates/shirabe/src/command/require_command.rs
+++ b/crates/shirabe/src/command/require_command.rs
@@ -64,8 +64,52 @@ pub struct RequireCommand {
dependency_resolution_completed: bool,
}
-impl CompletionTrait for RequireCommand {}
-impl PackageDiscoveryTrait for RequireCommand {}
+impl CompletionTrait for RequireCommand {
+ fn require_composer(
+ &self,
+ disable_plugins: Option<bool>,
+ disable_scripts: Option<bool>,
+ ) -> Composer {
+ todo!()
+ }
+}
+
+impl PackageDiscoveryTrait for RequireCommand {
+ fn get_repos_mut(&mut self) -> &mut Option<CompositeRepository> {
+ todo!()
+ }
+
+ fn get_repository_sets_mut(&mut self) -> &mut IndexMap<String, RepositorySet> {
+ todo!()
+ }
+
+ fn get_io(&self) -> &dyn IOInterface {
+ todo!()
+ }
+
+ fn try_composer(&self) -> Option<Composer> {
+ todo!()
+ }
+
+ fn require_composer(
+ &self,
+ disable_plugins: Option<bool>,
+ disable_scripts: Option<bool>,
+ ) -> Composer {
+ todo!()
+ }
+
+ fn get_platform_requirement_filter(
+ &self,
+ input: &dyn InputInterface,
+ ) -> Box<dyn crate::filter::platform_requirement_filter::platform_requirement_filter_interface::PlatformRequirementFilterInterface>{
+ todo!()
+ }
+
+ fn normalize_requirements(&self, requires: Vec<String>) -> Vec<IndexMap<String, String>> {
+ todo!()
+ }
+}
impl RequireCommand {
pub fn configure(&mut self) {