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.
Completed
Push — master ( cff4e7...5ca23c )
by Loick
12s
created

Config::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 5
ccs 4
cts 4
cp 1
rs 9.4285
cc 1
eloc 3
nc 1
nop 2
crap 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\Config;
13
14
class Config
15
{
16
    /** @var string */
17
    private $commitAuto;
18
19
    /** @var string|null */
20
    private $commitBinFile;
21
22
    /**
23
     * @param string      $commitAuto
24
     * @param string|null $commitBinFile
25
     */
26 18
    public function __construct($commitAuto, $commitBinFile)
27
    {
28 18
        $this->commitAuto = $commitAuto;
29 18
        $this->commitBinFile = $commitBinFile;
30 18
    }
31
32
    /**
33
     * @return string
34
     */
35 17
    public function getCommitAuto()
36
    {
37 17
        return $this->commitAuto;
38
    }
39
40
    /**
41
     * @return string|null
42
     */
43 14
    public function getCommitBinFile()
44
    {
45 14
        return $this->commitBinFile;
46
    }
47
}
48