aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-rpc/php/guards/Composer/Repository/Vcs/GitBitbucketDriver.php
blob: 1249b6a9c0d7092880a1c2f63e178a206b118183 (plain)
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<?php

// Generated by scripts/plugin-stub-generator; do not edit by hand.
// Guard for Composer\Repository\Vcs\GitBitbucketDriver.
// 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 GitBitbucketDriver extends VcsDriver
{
    public function __construct()
    {
        \ShirabeUnsupportedClass::fail(self::class, '__construct');
    }

    public function initialize(): void
    {
        \ShirabeUnsupportedClass::fail(self::class, 'initialize');
    }

    public function getUrl(): string
    {
        \ShirabeUnsupportedClass::fail(self::class, 'getUrl');
    }

    protected function getRepoData(): bool
    {
        \ShirabeUnsupportedClass::fail(self::class, 'getRepoData');
    }

    public function getComposerInformation(string $identifier): ?array
    {
        \ShirabeUnsupportedClass::fail(self::class, 'getComposerInformation');
    }

    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 getSource(string $identifier): array
    {
        \ShirabeUnsupportedClass::fail(self::class, 'getSource');
    }

    public function getDist(string $identifier): ?array
    {
        \ShirabeUnsupportedClass::fail(self::class, 'getDist');
    }

    public function getTags(): array
    {
        \ShirabeUnsupportedClass::fail(self::class, 'getTags');
    }

    public function getBranches(): array
    {
        \ShirabeUnsupportedClass::fail(self::class, 'getBranches');
    }

    protected function fetchWithOAuthCredentials(string $url, bool $fetchingRepoData = false): Response
    {
        \ShirabeUnsupportedClass::fail(self::class, 'fetchWithOAuthCredentials');
    }

    protected function generateSshUrl(): string
    {
        \ShirabeUnsupportedClass::fail(self::class, 'generateSshUrl');
    }

    protected function attemptCloneFallback(): bool
    {
        \ShirabeUnsupportedClass::fail(self::class, 'attemptCloneFallback');
    }

    protected function setupFallbackDriver(string $url): void
    {
        \ShirabeUnsupportedClass::fail(self::class, 'setupFallbackDriver');
    }

    protected function parseCloneUrls(array $cloneLinks): void
    {
        \ShirabeUnsupportedClass::fail(self::class, 'parseCloneUrls');
    }

    public function getRootIdentifier(): string
    {
        \ShirabeUnsupportedClass::fail(self::class, 'getRootIdentifier');
    }

    public static function supports(IOInterface $io, Config $config, string $url, bool $deep = false): bool
    {
        \ShirabeUnsupportedClass::fail(self::class, 'supports');
    }

    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');
    }

    protected function getContents(string $url): Response
    {
        \ShirabeUnsupportedClass::fail(self::class, 'getContents');
    }

    public function cleanup(): void
    {
        \ShirabeUnsupportedClass::fail(self::class, 'cleanup');
    }
}