GitNotFoundException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
1
<?php
2
3
namespace AurimasNiekis\GitConfig\Exception;
4
5
use Exception;
6
use Throwable;
7
8
/**
9
 * Class GitNotFoundException
10
 *
11
 * @package AurimasNiekis\GitConfig\Exception
12
 * @author  Aurimas Niekis <[email protected]>
13
 */
14
class GitNotFoundException extends Exception
15
{
16 1
    public function __construct()
17
    {
18 1
        parent::__construct(
19
            sprintf(
20 1
                'Git executable not found in "%s"',
21 1
                getenv('PATH')
22
            )
23
        );
24 1
    }
25
26
}