wikimedia/mediawiki-extensions-Wikibase

View on GitHub
view/src/ViewHooks.php

Summary

Maintainability
A
1 hr
Test Coverage

Method onResourceLoaderRegisterModules has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function onResourceLoaderRegisterModules( ResourceLoader $rl ): void {
        $moduleTemplate = [
            'localBasePath' => __DIR__ . '/..',
            'remoteExtPath' => 'Wikibase/view',
        ];
Severity: Minor
Found in view/src/ViewHooks.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status