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.

ReportFileSaveFailureException::__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 1
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 RuntimeException;
6
7
/**
8
 * The exception on saving the csv report file
9
 *
10
 * @date       25/06/2017
11
 * @time       22:15
12
 * @author     Peng Yue <[email protected]>
13
 * @copyright  2004-2017 Peng Yue
14
 */
15
16
class ReportFileSaveFailureException extends RuntimeException
17
{
18 1
    public function __construct($path)
19
    {
20 1
        $message = "The report file could not be saved to %s";
21
22 1
        parent::__construct(sprintf($message, $path), ErrorCode::REPORT_FILE_SAVING_FAILURE_ERROR_CODE);
23
    }
24
}