Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
CirrusSearchHooks
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 onCirrusSearchAddQueryFeatures
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3namespace MediaWiki\Extension\PageAssessments;
4
5use CirrusSearch\Hooks\CirrusSearchAddQueryFeaturesHook;
6use CirrusSearch\SearchConfig;
7
8class CirrusSearchHooks implements CirrusSearchAddQueryFeaturesHook {
9
10    /** @inheritDoc */
11    public function onCirrusSearchAddQueryFeatures( SearchConfig $config, array &$extraFeatures ): void {
12        $extraFeatures[] = new CirrusSearchInProjectFeature();
13    }
14}