aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-rpc/php/guards/Composer/Repository/Vcs/FossilDriver.php
blob: 0bf55416f4014233b386ce5a199ea721331f577d (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
<?php

// Generated by scripts/plugin-stub-generator; do not edit by hand.
// Guard for Composer\Repository\Vcs\FossilDriver.
// 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;

class FossilDriver extends VcsDriver
{
    public function __construct()
    {
        \ShirabeUnsupportedClass::fail(self::class, '__construct');
    }

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

    protected function checkFossil(): void
    {
        \ShirabeUnsupportedClass::fail(self::class, 'checkFossil');
    }

    protected function updateLocalRepo(): void
    {
        \ShirabeUnsupportedClass::fail(self::class, 'updateLocalRepo');
    }

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

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

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

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

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

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

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

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

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