wikimedia/mediawiki-extensions-Wikibase

View on GitHub
lib/includes/TermIndexEntry.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    private function assertConstructFieldsAreCorrect( array $fields ) {
        Assert::parameter(
            count( $fields ) === count( self::FIELD_NAMES ) &&
            !array_diff( self::FIELD_NAMES, array_keys( $fields ) ),
            '$fields',
Severity: Minor
Found in lib/includes/TermIndexEntry.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status