wikimedia/mediawiki-core

View on GitHub
includes/collation/CollationFactory.php

Summary

Maintainability
A
1 hr
Test Coverage

Method makeCollation has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function makeCollation( string $collationName ): Collation {
        if ( isset( self::CORE_COLLATIONS[$collationName] ) ) {
            return $this->instantiateCollation( self::CORE_COLLATIONS[$collationName] );
        }

Severity: Minor
Found in includes/collation/CollationFactory.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status