wikimedia/mediawiki-extensions-Translate

View on GitHub
src/MessageBundleTranslation/MessageBundleMessageGroup.php

Summary

Maintainability
A
3 hrs
Test Coverage

MessageBundleMessageGroup has 25 functions (exceeds 20 allowed). Consider refactoring.
Open

class MessageBundleMessageGroup implements MessageGroup {
    /** Name of the bundle (prefixed text of the bundle page) */
    private string $name;
    private string $groupId;
    private int $pageId;
Severity: Minor
Found in src/MessageBundleTranslation/MessageBundleMessageGroup.php - About 2 hrs to fix

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

            string $groupId,
            string $name,
            int $pageId,
            int $revisionId,
            ?string $description,
    Severity: Minor
    Found in src/MessageBundleTranslation/MessageBundleMessageGroup.php - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status