Total Complexity | 5 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class PhpunitListener implements ListenerInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var TestCase |
||
17 | */ |
||
18 | private $testCase; |
||
19 | |||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | private $exampleName; |
||
24 | |||
25 | public function __construct(TestCase $testCase) |
||
28 | } |
||
29 | |||
30 | public function onExample(Example $example): void |
||
31 | { |
||
32 | $this->exampleName = $example->getName(); |
||
33 | } |
||
34 | |||
35 | public function onIgnoredExample(Example $example): void |
||
36 | { |
||
37 | } |
||
38 | |||
39 | public function onExpectation(Status $status): void |
||
47 | ); |
||
48 | } |
||
49 | } |
||
51 |