Smile-SA/elasticsuite

View on GitHub
src/module-elasticsuite-core/Index/IndexOperation.php

Summary

Maintainability
B
4 hrs
Test Coverage

IndexOperation has 15 functions (exceeds 10 allowed). Consider refactoring.
Open

class IndexOperation implements IndexOperationInterface
{
    /**
     * @var \Magento\Framework\ObjectManagerInterface
     */
Severity: Minor
Found in src/module-elasticsuite-core/Index/IndexOperation.php - About 2 hrs to fix

    Method reindex has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            array $sourceIndices,
            string $destIndex,
            array $bodyParams = [],
            array $sourceParams = [],
            array $destParams = []
    Severity: Minor
    Found in src/module-elasticsuite-core/Index/IndexOperation.php - About 35 mins to fix

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

              \Magento\Framework\ObjectManagerInterface $objectManager,
              \Smile\ElasticsuiteCore\Api\Client\ClientInterface $client,
              \Smile\ElasticsuiteCore\Api\Index\IndexSettingsInterface $indexSettings,
              PipelineManagerInterface $pipelineManager,
              \Psr\Log\LoggerInterface $logger
      Severity: Minor
      Found in src/module-elasticsuite-core/Index/IndexOperation.php - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status