Completed
Push — master ( 6b1ea1...07aa67 )
by Michael
02:51
created

GitChangeInspector   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 16
wmc 2
lcom 0
cbo 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
A getChangesFromDeployment() 0 4 1
1
<?php
2
3
namespace ParityBit\DeploymentNotifier\ChangeInspectors;
4
5
use ParityBit\DeploymentNotifier\Deployment;
6
7
class GitChangeInspector implements ChangeInspector
8
{
9
    protected $repoDirectory;
10
11
    public function __construct($repoDirectory)
12
    {
13
        $this->repoDirectory = $repoDirectory;
14
15
16
    }
17
18
    public function getChangesFromDeployment(Deployment $deployment)
19
    {
20
21
    }
22
}
23