Passed
Pull Request — master (#33)
by Melech
05:51 queued 02:35
created

EchoOutput::meta()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the Valkyrja Framework package.
7
 *
8
 * (c) Melech Mizrachi <[email protected]>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Valkyrja\Test\Output\Outputters;
15
16
use Valkyrja\Test\Output\Results;
17
18
/**
19
 * Class Output.
20
 *
21
 * @author Melech Mizrachi
22
 */
23
class EchoOutput extends Output
24
{
25
    /**
26
     * @inheritDoc
27
     */
28
    public function title(): void
29
    {
30
        echo $this->formatter->title();
31
    }
32
33
    /**
34
     * @inheritDoc
35
     */
36
    public function meta(): void
37
    {
38
        echo $this->formatter->meta();
39
    }
40
41
    /**
42
     * @inheritDoc
43
     */
44
    public function tests(Results $results): void
45
    {
46
        echo $this->formatter->tests($results);
47
    }
48
49
    /**
50
     * @inheritDoc
51
     */
52
    public function completed(Results $results): void
53
    {
54
        echo $this->formatter->completed($results);
55
    }
56
57
    /**
58
     * @inheritDoc
59
     */
60
    public function results(Results $results): void
61
    {
62
        echo $this->formatter->results($results);
63
    }
64
65
    /**
66
     * @inheritDoc
67
     */
68
    public function issues(Results $results): void
69
    {
70
        echo $this->formatter->issues($results);
71
    }
72
73
    /**
74
     * @inheritDoc
75
     */
76
    public function sectionSpacing(): void
77
    {
78
        echo $this->formatter->sectionSpacing();
79
    }
80
}
81