Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| WikibaseRepoWbui2025InitResourceDependenciesHookHandler | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| onWikibaseRepoWbui2025InitResourceDependenciesHook | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare( strict_types = 1 ); |
| 4 | |
| 5 | namespace MediaWiki\Extension\Score; |
| 6 | |
| 7 | use Wikibase\Repo\Hooks\WikibaseRepoWbui2025InitResourceDependenciesHook; |
| 8 | |
| 9 | /** |
| 10 | * @license GPL-2.0-or-later |
| 11 | */ |
| 12 | class WikibaseRepoWbui2025InitResourceDependenciesHookHandler implements |
| 13 | WikibaseRepoWbui2025InitResourceDependenciesHook |
| 14 | { |
| 15 | |
| 16 | public function onWikibaseRepoWbui2025InitResourceDependenciesHook( array &$dependencies ): void { |
| 17 | $dependencies[] = 'score.wbui2025.entityViewInit'; |
| 18 | } |
| 19 | |
| 20 | } |