Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | use MediaWiki\Extension\Disambiguator\Lookup; |
| 4 | use MediaWiki\MediaWikiServices; |
| 5 | |
| 6 | // PHP unit does not understand code coverage for this file |
| 7 | // as the @covers annotation cannot cover a specific file |
| 8 | // This is fully tested in ServiceWiringTest.php |
| 9 | // @codeCoverageIgnoreStart |
| 10 | |
| 11 | return [ |
| 12 | 'DisambiguatorLookup' => static function ( MediaWikiServices $services ): Lookup { |
| 13 | return new Lookup( |
| 14 | $services->getConnectionProvider() |
| 15 | ); |
| 16 | } |
| 17 | ]; |
| 18 | |
| 19 | // @codeCoverageIgnoreEnd |