Passed
Push — master ( 3d4557...4c2a8d )
by Hannes
01:54
created

EvaluationStarted::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
c 0
b 0
f 0
dl 0
loc 5
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace hanneskod\readmetester\Event;
6
7
use hanneskod\readmetester\Runner\OutcomeInterface;
8
9
final class EvaluationStarted extends EvaluationEvent
10
{
11
    public function __construct(OutcomeInterface $outcome)
12
    {
13
        parent::__construct(
14
            "Entered: {$outcome->getExample()->getName()->getFullName()}",
15
            $outcome
16
        );
17
    }
18
}
19