| Total Complexity | 9 |
| Total Lines | 70 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | class NullIO extends Base |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * {@inheritDoc} |
||
| 26 | */ |
||
| 27 | 2 | public function isInteractive() |
|
| 28 | { |
||
| 29 | 2 | return false; |
|
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritDoc} |
||
| 34 | */ |
||
| 35 | 2 | public function isVerbose() |
|
| 36 | { |
||
| 37 | 2 | return false; |
|
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritDoc} |
||
| 42 | */ |
||
| 43 | 2 | public function isVeryVerbose() |
|
| 44 | { |
||
| 45 | 2 | return false; |
|
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * {@inheritDoc} |
||
| 50 | */ |
||
| 51 | 2 | public function isDebug() |
|
| 52 | { |
||
| 53 | 2 | return false; |
|
| 54 | } |
||
| 55 | |||
| 56 | /** |
||
| 57 | * {@inheritDoc} |
||
| 58 | */ |
||
| 59 | 31 | public function write($messages, $newline = true, $verbosity = self::NORMAL) |
|
| 61 | 31 | } |
|
| 62 | |||
| 63 | /** |
||
| 64 | * {@inheritDoc} |
||
| 65 | */ |
||
| 66 | 1 | public function writeError($messages, $newline = true, $verbosity = self::NORMAL) |
|
| 68 | 1 | } |
|
| 69 | |||
| 70 | /** |
||
| 71 | * {@inheritDoc} |
||
| 72 | */ |
||
| 73 | 4 | public function ask($question, $default = null) |
|
| 76 | } |
||
| 77 | |||
| 78 | /** |
||
| 79 | * {@inheritDoc} |
||
| 80 | */ |
||
| 81 | 2 | public function askConfirmation($question, $default = true) |
|
| 82 | { |
||
| 83 | 2 | return $default; |
|
| 84 | } |
||
| 85 | |||
| 86 | /** |
||
| 87 | * {@inheritDoc} |
||
| 88 | */ |
||
| 89 | 2 | public function askAndValidate($question, $validator, $attempts = null, $default = null) |
|
| 92 | } |
||
| 93 | } |
||
| 94 |