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 ( 8b864d...9c6238 )
by Miles
08:16
created

AbstractParser::startsWith()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 2
eloc 2
nc 2
nop 2
crap 2
1
<?php
2
3
/**
4
 * This file is part of the m1\env library
5
 *
6
 * (c) m1 <[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
 * @package     m1/env
12
 * @version     1.0.0
13
 * @author      Miles Croxford <[email protected]>
14
 * @copyright   Copyright (c) Miles Croxford <[email protected]>
15
 * @license     http://github.com/m1/env/blob/master/LICENSE.md
16
 * @link        http://github.com/m1/env/blob/master/README.md Documentation
17
 */
18
19
namespace M1\Env\Parser;
20
21
/**
22
 * The abstract parser for Env
23
 *
24
 * @since 0.2.0
25
 */
26
abstract class AbstractParser
27
{
28
    /**
29
     * The parent parser
30
     *
31
     * @var \M1\Env\Parser $parser
32
     */
33
    protected $parser;
34
35
    /**
36
     * The abstract parser constructor for Env
37
     *
38
     * @param \M1\Env\Parser $parser The parent parser
39
     */
40 57
    public function __construct($parser)
41
    {
42 57
        $this->parser = $parser;
43 57
    }
44
}
45