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.

AbstractUrlGenerator   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 16
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A isDevVersion() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the composer-changelogs project.
5
 *
6
 * (c) Loïck Piera <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Pyrech\ComposerChangelogs\UrlGenerator;
13
14
use Pyrech\ComposerChangelogs\Version;
15
16
/**
17
 * @deprecated since v1.4, will be removed in v2.0. Use GitBasedUrlGenerator class instead
18
 */
19
abstract class AbstractUrlGenerator extends GitBasedUrlGenerator
20
{
21
    /**
22
     * Return whether the version is dev or not.
23
     *
24
     * @param Version $version
25
     *
26
     * @return string
27
     *
28
     * @deprecated since v1.4, will be removed in v2.0. Use $version->isDev() instead
29
     */
30
    protected function isDevVersion(Version $version)
31
    {
32
        return $version->isDev();
33
    }
34
}
35