Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 6 |
|
0.00% |
0 / 6 |
CRAP | |
0.00% |
0 / 1 |
| NoopRemediator | |
0.00% |
0 / 6 |
|
0.00% |
0 / 6 |
42 | |
0.00% |
0 / 1 |
| redirectInIndex | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| pageNotInIndex | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| ghostPageInIndex | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| pageInWrongIndex | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| oldVersionInIndex | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| oldDocument | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace CirrusSearch\Sanity; |
| 4 | |
| 5 | use MediaWiki\Page\WikiPage; |
| 6 | use MediaWiki\Title\Title; |
| 7 | |
| 8 | /** |
| 9 | * Remediator that takes no actions. |
| 10 | */ |
| 11 | class NoopRemediator implements Remediator { |
| 12 | |
| 13 | /** |
| 14 | * @inheritDoc |
| 15 | */ |
| 16 | public function redirectInIndex( string $docId, WikiPage $page, string $indexSuffix ) { |
| 17 | } |
| 18 | |
| 19 | /** |
| 20 | * @inheritDoc |
| 21 | */ |
| 22 | public function pageNotInIndex( WikiPage $page ) { |
| 23 | } |
| 24 | |
| 25 | /** |
| 26 | * @inheritDoc |
| 27 | */ |
| 28 | public function ghostPageInIndex( $docId, Title $title ) { |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * @inheritDoc |
| 33 | */ |
| 34 | public function pageInWrongIndex( $docId, WikiPage $page, $indexSuffix ) { |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * @inheritDoc |
| 39 | */ |
| 40 | public function oldVersionInIndex( $docId, WikiPage $page, $indexSuffix ) { |
| 41 | } |
| 42 | |
| 43 | /** |
| 44 | * @inheritDoc |
| 45 | */ |
| 46 | public function oldDocument( WikiPage $page ) { |
| 47 | } |
| 48 | } |