wikimedia/mediawiki-extensions-CirrusSearch

View on GitHub
includes/Search/SourceTextIndexField.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function getMapping( SearchEngine $engine ) {
        if ( !( $engine instanceof CirrusSearch ) ) {
            throw new \LogicException( "Cannot map CirrusSearch fields for another engine." );
        }
        $this->initFlags();
Severity: Minor
Found in includes/Search/SourceTextIndexField.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status