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.
Passed
Pull Request — master (#1061)
by Maxim
04:23 queued 01:35
created

ForwardException   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
A __toString() 0 4 1
1
<?php
2
/* (c) Anton Medvedev <[email protected]>
3
 *
4
 * For the full copyright and license information, please view the LICENSE
5
 * file that was distributed with this source code.
6
 */
7
8
namespace Deployer\Exception;
9
10
class ForwardException extends Exception
11
{
12
    protected $serverName;
13
    protected $exceptionClass;
14
    protected $message;
15
16
    /**
17
     * ForwardException constructor.
18
     * @param $serverName
19
     * @param $exceptionClass
20
     * @param $message
21
     */
22
    public function __construct($serverName, $exceptionClass, $message)
23
    {
24
        $this->serverName = $serverName;
25
        $this->exceptionClass = $exceptionClass;
26
        parent::__construct($message);
27
    }
28
29
    public function __toString()
30
    {
31
        parent::__toString();
32
    }
33
}
34