wikimedia/mediawiki-extensions-Wikibase

View on GitHub
client/includes/Hooks/ExtensionLoadHandler.php

Summary

Maintainability
A
1 hr
Test Coverage

Method getApiFormatReferenceSpec has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getApiFormatReferenceSpec( array $clientSettings ): ?array {
        // This API module is (for now) only enabled conditionally
        if ( !( $clientSettings['dataBridgeEnabled'] ?? false ) ) {
            return null;
        }
Severity: Minor
Found in client/includes/Hooks/ExtensionLoadHandler.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status