CodebaseStatusNotifier   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A notifyOfDeployment() 0 4 1
1
<?php
2
3
namespace ParityBit\DeploymentNotifier\Notifiers;
4
5
use ParityBit\DeploymentNotifier\Clients\CodebaseClient;
6
use ParityBit\DeploymentNotifier\Deployment;
7
8
/**
9
 * A notifier to change the status of codebase tickets e.g. mark them as 'deployed'
10
 */
11
class CodebaseStatusNotifier implements Notifier
12
{
13
    protected $client;
14
15
    public function __construct(CodebaseClient $client)
16
    {
17
        $this->client = $client;
18
    }
19
20
    public function notifyOfDeployment(Deployment $deployment)
21
    {
22
23
    }
24
}
25