diff options
Diffstat (limited to 'crates/shirabe-php-rpc/php/guards/Composer/Util/Git.php')
| -rw-r--r-- | crates/shirabe-php-rpc/php/guards/Composer/Util/Git.php | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/crates/shirabe-php-rpc/php/guards/Composer/Util/Git.php b/crates/shirabe-php-rpc/php/guards/Composer/Util/Git.php new file mode 100644 index 00000000..df78b1f1 --- /dev/null +++ b/crates/shirabe-php-rpc/php/guards/Composer/Util/Git.php @@ -0,0 +1,100 @@ +<?php + +// Generated by scripts/plugin-stub-generator; do not edit by hand. +// Guard for Composer\Util\Git. +// The Rust side owns this class and the worker has no proxy for it, so this +// declaration shadows the real one: the constants and the hierarchy stay, while +// constructing it or calling anything on it raises an explicit error. + +namespace Composer\Util; + +use Composer\Config; +use Composer\IO\IOInterface; + +class Git +{ + public function __construct(IOInterface $io, Config $config, ProcessExecutor $process, Filesystem $fs) + { + \ShirabeUnsupportedClass::fail(self::class, '__construct'); + } + + public static function checkForRepoOwnershipError(string $output, string $path, ?IOInterface $io = null): void + { + \ShirabeUnsupportedClass::fail(self::class, 'checkForRepoOwnershipError'); + } + + public function setHttpDownloader(HttpDownloader $httpDownloader): void + { + \ShirabeUnsupportedClass::fail(self::class, 'setHttpDownloader'); + } + + public function runCommands(array $commands, string $url, ?string $cwd, bool $initialClone = false, &$commandOutput = null): void + { + \ShirabeUnsupportedClass::fail(self::class, 'runCommands'); + } + + public function runCommand($commandCallable, string $url, ?string $cwd, bool $initialClone = false, &$commandOutput = null): void + { + \ShirabeUnsupportedClass::fail(self::class, 'runCommand'); + } + + public function syncMirror(string $url, string $dir): bool + { + \ShirabeUnsupportedClass::fail(self::class, 'syncMirror'); + } + + public function fetchRefOrSyncMirror(string $url, string $dir, string $ref, ?string $prettyVersion = null): bool + { + \ShirabeUnsupportedClass::fail(self::class, 'fetchRefOrSyncMirror'); + } + + public static function getNoShowSignatureFlag(ProcessExecutor $process): string + { + \ShirabeUnsupportedClass::fail(self::class, 'getNoShowSignatureFlag'); + } + + public static function getNoShowSignatureFlags(ProcessExecutor $process): array + { + \ShirabeUnsupportedClass::fail(self::class, 'getNoShowSignatureFlags'); + } + + public static function supportsNoCommitHeaderFlag(ProcessExecutor $process): bool + { + \ShirabeUnsupportedClass::fail(self::class, 'supportsNoCommitHeaderFlag'); + } + + public static function buildRevListCommand(ProcessExecutor $process, array $arguments): array + { + \ShirabeUnsupportedClass::fail(self::class, 'buildRevListCommand'); + } + + public static function parseRevListOutput(string $output, ProcessExecutor $process): string + { + \ShirabeUnsupportedClass::fail(self::class, 'parseRevListOutput'); + } + + public function getMirrorDefaultBranch(string $url, string $dir, bool $isLocalPathRepository): ?string + { + \ShirabeUnsupportedClass::fail(self::class, 'getMirrorDefaultBranch'); + } + + public static function cleanEnv(?ProcessExecutor $process = null): void + { + \ShirabeUnsupportedClass::fail(self::class, 'cleanEnv'); + } + + public static function getGitHubDomainsRegex(Config $config): string + { + \ShirabeUnsupportedClass::fail(self::class, 'getGitHubDomainsRegex'); + } + + public static function getGitLabDomainsRegex(Config $config): string + { + \ShirabeUnsupportedClass::fail(self::class, 'getGitLabDomainsRegex'); + } + + public static function getVersion(ProcessExecutor $process): ?string + { + \ShirabeUnsupportedClass::fail(self::class, 'getVersion'); + } +} |
