wikimedia/mediawiki-extensions-Wikibase

View on GitHub
repo/includes/Specials/SpecialModifyTerm.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method getForm has 58 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function getForm( EntityDocument $entity = null ) {
        if ( $this->languageCode === null ) {
            $this->languageCode = $this->getLanguage()->getCode();
        }

Severity: Major
Found in repo/includes/Specials/SpecialModifyTerm.php - About 2 hrs to fix

    Method __construct has 11 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            string $title,
            array $tags,
            ChangeOpFactoryProvider $changeOpFactoryProvider,
            SpecialPageCopyrightView $copyrightView,
            SummaryFormatter $summaryFormatter,
    Severity: Major
    Found in repo/includes/Specials/SpecialModifyTerm.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status