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

EvaluationStarted   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 4
c 0
b 0
f 0
dl 0
loc 7
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 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