GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 10-11 lines in 5 locations

src/Compute/v2/Models/Host.php 1 location

@@ 32-42 (lines=11) @@
29
    /**
30
     * @inheritdoc
31
     */
32
    protected static function getAlias(): Alias
33
    {
34
        $alias = parent::getAlias();
35
36
        if (!$alias->hasAliases(self::class)) {
37
            $alias
38
                ->add(self::class, 'host_name', 'name');
39
        }
40
41
        return $alias;
42
    }
43
44
    /**
45
     * {@inheritDoc}

src/Identity/v2/Models/Catalog.php 1 location

@@ 29-38 (lines=10) @@
26
    /**
27
     * @inheritdoc
28
     */
29
    protected static function getAlias(): Alias
30
    {
31
        $alias = parent::getAlias();
32
33
        if (!$alias->hasAliases(self::class)) {
34
            $alias->add(self::class, 'entries', 'entries', Entry::class, true);
35
        }
36
37
        return $alias;
38
    }
39
40
    /**
41
     * {@inheritDoc}

src/Identity/v2/Models/Entry.php 1 location

@@ 27-36 (lines=10) @@
24
    /**
25
     * @inheritdoc
26
     */
27
    protected static function getAlias(): Alias
28
    {
29
        $alias = parent::getAlias();
30
31
        if (!$alias->hasAliases(self::class)) {
32
            $alias->add(self::class, 'endpoints', 'endpoints', Endpoint::class, true);
33
        }
34
35
        return $alias;
36
    }
37
38
    /**
39
     * Indicates whether this catalog entry matches a certain name and type.

src/Identity/v3/Models/Catalog.php 1 location

@@ 19-28 (lines=10) @@
16
    /**
17
     * @inheritdoc
18
     */
19
    protected static function getAlias(): Alias
20
    {
21
        $alias = parent::getAlias();
22
23
        if (!$alias->hasAliases(self::class)) {
24
            $alias->add(self::class, 'services', 'services', Service::class, true);
25
        }
26
27
        return $alias;
28
    }
29
30
    public function populateFromArray(array $data): self
31
    {

src/Identity/v3/Models/Service.php 1 location

@@ 42-52 (lines=11) @@
39
    /**
40
     * @inheritdoc
41
     */
42
    protected static function getAlias(): Alias
43
    {
44
        $alias = parent::getAlias();
45
46
        if (!$alias->hasAliases(self::class)) {
47
            $alias
48
                ->add(self::class, 'endpoints', 'endpoints', Endpoint::class, true);
49
        }
50
51
        return $alias;
52
    }
53
54
    /**
55
     * {@inheritDoc}