wikimedia/mediawiki-extensions-CirrusSearch

View on GitHub
includes/Maintenance/IndexCreator.php

Summary

Maintainability
A
2 hrs
Test Coverage

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

        $rebuild,
        $maxShardsPerNode,
        $shardCount,
        $replicaCount,
        $refreshInterval,
Severity: Major
Found in includes/Maintenance/IndexCreator.php - About 50 mins to fix

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

            $maxShardsPerNode,
            $shardCount,
            $replicaCount,
            $refreshInterval,
            array $mergeSettings,
    Severity: Minor
    Found in includes/Maintenance/IndexCreator.php - About 45 mins to fix

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

              Index $index,
              ConfigUtils $utils,
              array $analysisConfig,
              array $mappings,
              array $similarityConfig = null,
      Severity: Minor
      Found in includes/Maintenance/IndexCreator.php - About 45 mins to fix

        There are no issues that match your filters.

        Category
        Status