wikimedia/mediawiki-extensions-Translate

View on GitHub
src/TranslatorInterface/LegacyTranslationAids.php

Summary

Maintainability
A
1 hr
Test Coverage

Method getDocumentationBox has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function getDocumentationBox(): string {
        global $wgTranslateDocumentationLanguageCode;

        if ( !$wgTranslateDocumentationLanguageCode ) {
            throw new TranslationHelperException( 'Message documentation language code is not defined' );
Severity: Minor
Found in src/TranslatorInterface/LegacyTranslationAids.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status