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.

__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 5
ccs 3
cts 3
cp 1
crap 1
rs 10
1
<?php
2
3
namespace Awin\ReportTask\Bundle\ReportBundle\Exception;
4
5
use DomainException;
6
7
/**
8
 * Invalid transaction table repository exception
9
 *
10
 * @date       24/06/2017
11
 * @time       19:27
12
 * @author     Peng Yue <[email protected]>
13
 * @copyright  2004-2017 Peng Yue
14
 */
15
16
class TransactionRepositoryNotFoundException extends DomainException
17
{
18 2
    public function __construct()
19
    {
20 2
        $message = "Invalid transaction repository";
21
22 2
        parent::__construct($message, ErrorCode::INVALID_TRANSACTION_REPOSITORY_ERROR_CODE);
23
    }
24
}