wikimedia/mediawiki-extensions-Translate

View on GitHub
src/TranslatorSandbox/ManageTranslatorSandboxSpecialPage.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method makeList has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function makeList(): string {
        $items = [];
        $requests = [];
        $users = $this->translateSandbox->getUsers();

Severity: Minor
Found in src/TranslatorSandbox/ManageTranslatorSandboxSpecialPage.php - About 2 hrs to fix

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

        private function showPage(): void {
            $out = $this->getOutput();
    
            $nojs = Html::errorBox(
                $this->msg( 'tux-nojs' )->escaped(),
    Severity: Minor
    Found in src/TranslatorSandbox/ManageTranslatorSandboxSpecialPage.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status