wikimedia/mediawiki-extensions-Wikibase

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

Summary

Maintainability
A
1 hr
Test Coverage

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

        ApiMain $mainModule,
        string $moduleName,
        StatementGuidValidator $guidValidator,
        StatementGuidParser $guidParser,
        EntityIdParser $idParser,
Severity: Major
Found in repo/includes/Api/GetClaims.php - About 1 hr to fix

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

            ApiMain $mainModule,
            string $moduleName,
            ApiHelperFactory $apiHelperFactory,
            EntityIdParser $entityIdParser,
            StatementGuidParser $statementGuidParser,
    Severity: Minor
    Found in repo/includes/Api/GetClaims.php - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status