wikimedia/mediawiki-extensions-Wikibase

View on GitHub
repo/includes/Store/Sql/WikiPageEntityRedirectLookup.php

Summary

Maintainability
A
1 hr
Test Coverage

Method getRedirectForEntityId has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getRedirectForEntityId( EntityId $entityId, $forUpdate = '' ) {
        try {
            $title = $this->entityTitleLookup->getTitleForId( $entityId );
        } catch ( \Exception $ex ) {
            // TODO: Catch more specific type of exception once EntityTitleStoreLookup contract is clarified
Severity: Minor
Found in repo/includes/Store/Sql/WikiPageEntityRedirectLookup.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status