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.

ParsingError::rule()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
ccs 0
cts 4
cp 0
crap 2
1
<?php
2
/**
3
 * @author  Alexander Getmanskii <[email protected]>
4
 * @package GetSky\ParserExpressions
5
 */
6
namespace GetSky\ParserExpressions;
7
8
/**
9
 * It is a error result for parsing string.
10
 */
11
class ParsingError implements ParsingErrorInterface
12
{
13
14
    protected $rule;
15
16
    protected $index;
17
18
    private $depth;
19
20
    public function __construct(RuleInterface $rule, $index, $depth)
21
    {
22
        $this->index = $index;
23
        $this->rule = $rule;
24
        $this->depth = $depth;
25
    }
26
27
    public function rule()
28
    {
29
        return $this->rule;
30
    }
31
32
    public function position()
33
    {
34
        return $this->index;
35
    }
36
37
    public function depth()
38
    {
39
        return $this->depth;
40
    }
41
}
42