aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-rpc/php/stubs/Composer/IO/BaseIO.php
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-rpc/php/stubs/Composer/IO/BaseIO.php')
-rw-r--r--crates/shirabe-php-rpc/php/stubs/Composer/IO/BaseIO.php22
1 files changed, 10 insertions, 12 deletions
diff --git a/crates/shirabe-php-rpc/php/stubs/Composer/IO/BaseIO.php b/crates/shirabe-php-rpc/php/stubs/Composer/IO/BaseIO.php
index 51cdbe08..55da6415 100644
--- a/crates/shirabe-php-rpc/php/stubs/Composer/IO/BaseIO.php
+++ b/crates/shirabe-php-rpc/php/stubs/Composer/IO/BaseIO.php
@@ -1,9 +1,7 @@
<?php
-// Hand-written proxy stub for Composer\IO\BaseIO, kept in the shape the future stub generator
-// will output: every public method of the real class (its own and the IOInterface /
-// LoggerInterface surface) forwards to the Rust-side entity. Loading this stub pulls the real
-// IOInterface contract from the Composer PHP runtime, which must already be required.
+// Generated by scripts/plugin-stub-generator; do not edit by hand.
+// Proxy stub for Composer\IO\BaseIO: the public surface forwards to the Rust-side entity over RPC.
namespace Composer\IO;
@@ -129,22 +127,17 @@ abstract class BaseIO implements IOInterface, \ShirabeRustStub
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getAuthentications', []);
}
- public function resetAuthentications()
- {
- return \ShirabeRpcRuntime::callRust($this->__rhandle, 'resetAuthentications', []);
- }
-
- public function hasAuthentication(string $repositoryName)
+ public function hasAuthentication($repositoryName)
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'hasAuthentication', [$repositoryName]);
}
- public function getAuthentication(string $repositoryName)
+ public function getAuthentication($repositoryName)
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'getAuthentication', [$repositoryName]);
}
- public function setAuthentication(string $repositoryName, string $username, ?string $password = null)
+ public function setAuthentication($repositoryName, $username, $password = null)
{
return \ShirabeRpcRuntime::callRust($this->__rhandle, 'setAuthentication', [$repositoryName, $username, $password]);
}
@@ -198,4 +191,9 @@ abstract class BaseIO implements IOInterface, \ShirabeRustStub
{
\ShirabeRpcRuntime::callRust($this->__rhandle, 'log', [$level, $message, $context]);
}
+
+ public function resetAuthentications()
+ {
+ return \ShirabeRpcRuntime::callRust($this->__rhandle, 'resetAuthentications', []);
+ }
}