Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 3 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 1 |
| NullPrinter | |
0.00% |
0 / 3 |
|
0.00% |
0 / 3 |
12 | |
0.00% |
0 / 1 |
| output | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| outputIndented | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| error | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace CirrusSearch\Maintenance; |
| 4 | |
| 5 | class NullPrinter implements Printer { |
| 6 | /** @inheritDoc */ |
| 7 | public function output( $message, $channel = null ) { |
| 8 | } |
| 9 | |
| 10 | /** @inheritDoc */ |
| 11 | public function outputIndented( $message ) { |
| 12 | } |
| 13 | |
| 14 | /** @inheritDoc */ |
| 15 | public function error( $err, $die = 0 ) { |
| 16 | } |
| 17 | } |