wikimedia/mediawiki-extensions-Translate

View on GitHub
src/TranslatorInterface/Aid/TranslationAidDataProvider.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    private static function loadTranslationData( IDatabase $db, MessageHandle $handle ): array {
        $revisionStore = MediaWikiServices::getInstance()->getRevisionStore();
        $conditions = [];

        // The list of pages we want to select, and their latest versions
Severity: Minor
Found in src/TranslatorInterface/Aid/TranslationAidDataProvider.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status