1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
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');
}
}
|