wikimedia/mediawiki-extensions-Translate

View on GitHub
src/MessageGroupProcessing/QueryManageMessageGroupsActionApi.php

Summary

Maintainability
A
2 hrs
Test Coverage

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

    protected function getPossibleRenames(
        MessageSourceChange $sourceChanges,
        int $groupNamespace,
        string $msgKey,
        string $languageCode
Severity: Minor
Found in src/MessageGroupProcessing/QueryManageMessageGroupsActionApi.php - About 1 hr to fix

    Method execute has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function execute() {
            $params = $this->extractRequestParams();
            $groupId = $params['groupId'];
            $msgKey = $params['messageKey'];
            $name = $params['changesetName'] ?? MessageChangeStorage::DEFAULT_NAME;
    Severity: Minor
    Found in src/MessageGroupProcessing/QueryManageMessageGroupsActionApi.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status