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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
<?php
// Generated by scripts/plugin-stub-generator; do not edit by hand.
// Guard for Composer\Repository\Vcs\ForgejoDriver.
// 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.
// Composer\Repository\Vcs\VcsDriver::__construct() is final, so it keeps running the real implementation here.
namespace Composer\Repository\Vcs;
use Composer\Config;
use Composer\IO\IOInterface;
use Composer\Util\Http\Response;
class ForgejoDriver extends VcsDriver
{
public function __construct()
{
\ShirabeUnsupportedClass::fail(self::class, '__construct');
}
public function initialize(): void
{
\ShirabeUnsupportedClass::fail(self::class, 'initialize');
}
public function getFileContent(string $file, string $identifier): ?string
{
\ShirabeUnsupportedClass::fail(self::class, 'getFileContent');
}
public function getChangeDate(string $identifier): ?\DateTimeImmutable
{
\ShirabeUnsupportedClass::fail(self::class, 'getChangeDate');
}
public function getRootIdentifier(): string
{
\ShirabeUnsupportedClass::fail(self::class, 'getRootIdentifier');
}
public function getBranches(): array
{
\ShirabeUnsupportedClass::fail(self::class, 'getBranches');
}
public function getTags(): array
{
\ShirabeUnsupportedClass::fail(self::class, 'getTags');
}
public function getDist(string $identifier): ?array
{
\ShirabeUnsupportedClass::fail(self::class, 'getDist');
}
public function getComposerInformation(string $identifier): ?array
{
\ShirabeUnsupportedClass::fail(self::class, 'getComposerInformation');
}
public function getSource(string $identifier): array
{
\ShirabeUnsupportedClass::fail(self::class, 'getSource');
}
public function getUrl(): string
{
\ShirabeUnsupportedClass::fail(self::class, 'getUrl');
}
public static function supports(IOInterface $io, Config $config, string $url, bool $deep = false): bool
{
\ShirabeUnsupportedClass::fail(self::class, 'supports');
}
protected function setupGitDriver(string $url): void
{
\ShirabeUnsupportedClass::fail(self::class, 'setupGitDriver');
}
protected function getNextPage(Response $response): ?string
{
\ShirabeUnsupportedClass::fail(self::class, 'getNextPage');
}
protected function getContents(string $url, bool $fetchingRepoData = false): Response
{
\ShirabeUnsupportedClass::fail(self::class, 'getContents');
}
protected function attemptCloneFallback(): bool
{
\ShirabeUnsupportedClass::fail(self::class, 'attemptCloneFallback');
}
protected function shouldCache(string $identifier): bool
{
\ShirabeUnsupportedClass::fail(self::class, 'shouldCache');
}
protected function getBaseComposerInformation(string $identifier): ?array
{
\ShirabeUnsupportedClass::fail(self::class, 'getBaseComposerInformation');
}
public function hasComposerFile(string $identifier): bool
{
\ShirabeUnsupportedClass::fail(self::class, 'hasComposerFile');
}
protected function getScheme(): string
{
\ShirabeUnsupportedClass::fail(self::class, 'getScheme');
}
public function cleanup(): void
{
\ShirabeUnsupportedClass::fail(self::class, 'cleanup');
}
}
|