wikimedia/mediawiki-extensions-Wikibase

View on GitHub
lib/includes/Normalization/SnakNormalizer.php

Summary

Maintainability
A
1 hr
Test Coverage

Method makeNormalizer has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function makeNormalizer( PropertyId $propertyId, string $valueType ): DataValueNormalizer {
        $dataTypeNormalizers = [];
        $valueTypeNormalizers = [];

        try {
Severity: Minor
Found in lib/includes/Normalization/SnakNormalizer.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status