Passed
Push — master ( 72dc09...0a81c1 )
by Iman
07:49
created

Chain::http()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
ccs 1
cts 1
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
crap 1
1
<?php
2
3
namespace Imanghafoori\HeyMan\MakeSure;
4
5
class Chain
6
{
7
    public $data = [];
8
9 38
    private $phpunit;
10
11 38
    public function __construct($phpunit)
12 38
    {
13
        $this->phpunit = $phpunit;
14
    }
15
16
    public function __destruct()
17
    {
18
        (new CheckExpectations($this, $this->phpunit))->check();
19
    }
20
}
21