Passed
Push — master ( 35235e...b730fe )
by Malte
03:40
created

NullStyle   A

Complexity

Total Complexity 18

Size/Duplication

Total Lines 72
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 18
dl 0
loc 72
rs 10
c 0
b 0
f 0

18 Methods

Rating   Name   Duplication   Size   Complexity  
A ask() 0 2 1
A note() 0 2 1
A progressFinish() 0 2 1
A confirm() 0 2 1
A warning() 0 2 1
A success() 0 2 1
A table() 0 2 1
A askHidden() 0 2 1
A progressStart() 0 2 1
A section() 0 2 1
A error() 0 2 1
A caution() 0 2 1
A listing() 0 2 1
A choice() 0 2 1
A newLine() 0 2 1
A title() 0 2 1
A text() 0 2 1
A progressAdvance() 0 2 1
1
<?php
2
3
namespace Helper;
4
5
use Symfony\Component\Console\Style\StyleInterface;
6
7
/**
8
 * Null implementation for Symfony Style interface.
9
 */
10
final class NullStyle implements StyleInterface
11
{
12
    public function title($message)
13
    {
14
    }
15
16
    public function section($message)
17
    {
18
    }
19
20
    public function listing(array $elements)
21
    {
22
    }
23
24
    public function text($message)
25
    {
26
    }
27
28
    public function success($message)
29
    {
30
    }
31
32
    public function error($message)
33
    {
34
    }
35
36
    public function warning($message)
37
    {
38
    }
39
40
    public function note($message)
41
    {
42
    }
43
44
    public function caution($message)
45
    {
46
    }
47
48
    public function table(array $headers, array $rows)
49
    {
50
    }
51
52
    public function ask($question, $default = null, $validator = null)
53
    {
54
    }
55
56
    public function askHidden($question, $validator = null)
57
    {
58
    }
59
60
    public function confirm($question, $default = true)
61
    {
62
    }
63
64
    public function choice($question, array $choices, $default = null)
65
    {
66
    }
67
68
    public function newLine($count = 1)
69
    {
70
    }
71
72
    public function progressStart($max = 0)
73
    {
74
    }
75
76
    public function progressAdvance($step = 1)
77
    {
78
    }
79
80
    public function progressFinish()
81
    {
82
    }
83
}
84