wikimedia/mediawiki-core

View on GitHub
includes/specials/SpecialMIMESearch.php

Summary

Maintainability
A
1 hr
Test Coverage

Method getQueryInfo has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getQueryInfo() {
        $minorType = [];
        if ( $this->minor !== '*' ) {
            // Allow wildcard searching
            $minorType['img_minor_mime'] = $this->minor;
Severity: Minor
Found in includes/specials/SpecialMIMESearch.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status