wikimedia/mediawiki-extensions-Wikibase

View on GitHub
repo/includes/Api/FormatEntities.php

Summary

Maintainability
A
1 hr
Test Coverage

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

        ApiMain $mainModule,
        string $moduleName,
        EntityIdParser $entityIdParser,
        EntityIdFormatterFactory $entityIdFormatterFactory,
        ResultBuilder $resultBuilder,
Severity: Major
Found in repo/includes/Api/FormatEntities.php - About 50 mins to fix

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

            ApiMain $apiMain,
            string $moduleName,
            IBufferingStatsdDataFactory $dataFactory,
            ApiHelperFactory $apiHelperFactory,
            EntityIdFormatterFactory $entityIdFormatterFactory,
    Severity: Minor
    Found in repo/includes/Api/FormatEntities.php - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status