aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-rpc/php/guards/Composer/Repository/PackageRepository.php
blob: 6ea6629b7c78538a88fede9cb59bd89e843b806c (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
<?php

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

class PackageRepository extends ArrayRepository implements AdvisoryProviderInterface
{
    public function __construct(array $config)
    {
        \ShirabeUnsupportedClass::fail(self::class, '__construct');
    }

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

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

    public function hasSecurityAdvisories(): bool
    {
        \ShirabeUnsupportedClass::fail(self::class, 'hasSecurityAdvisories');
    }

    public function getSecurityAdvisories(array $packageConstraintMap, bool $allowPartialAdvisories = false): array
    {
        \ShirabeUnsupportedClass::fail(self::class, 'getSecurityAdvisories');
    }
}