Completed
Push — master ( c78ccd...9cd253 )
by Thijs
01:15
created

Project   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace TestMonitor\DevOps\Resources;
4
5
class Project extends Resource
6
{
7
    /**
8
     * The id of the project.
9
     *
10
     * @var string
11
     */
12
    public $id;
13
14
    /**
15
     * The name of the project.
16
     *
17
     * @var string
18
     */
19
    public $name;
20
21
    /**
22
     * Create a new resource instance.
23
     *
24
     * @param string $id
25
     * @param string $name
26
     */
27 1
    public function __construct(string $id, string $name)
28
    {
29 1
        $this->id = $id;
30 1
        $this->name = $name;
31 1
    }
32
}
33