wikimedia/mediawiki-extensions-Wikibase

View on GitHub
lib/includes/Interactors/MatchingTermsLookupSearchInteractor.php

Summary

Maintainability
A
1 hr
Test Coverage

Method getMatchingTermIndexEntries has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function getMatchingTermIndexEntries(
        $text,
        $languageCode,
        $entityType,
        array $termTypes
Severity: Minor
Found in lib/includes/Interactors/MatchingTermsLookupSearchInteractor.php - About 1 hr to fix

    Method getFallbackMatchedTermIndexEntries has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            $text,
            array $languageCodes,
            $termTypes,
            $entityType,
            array $matchedEntityIdSerializations
    Severity: Minor
    Found in lib/includes/Interactors/MatchingTermsLookupSearchInteractor.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status