Smile-SA/elasticsuite

View on GitHub

Showing 607 of 1,357 total issues

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

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

            StandardFactory $standardOrderFactory,
            NestedFactory $nestedOrderFactory,
            QueryBuilder $queryBuilder,
            ScriptFactory $scriptOrderFactory,
            DefaultSortOrderProviderInterface $defaultSortOrderProvider

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

              QueryResultFactory $queryResultFactory,
              StoreManagerInterface $storeManager,
              ClientInterface $client,
              ContainerConfigurationFactory $containerConfigFactory,
              ScopeConfigInterface $scopeConfig
      Severity: Minor
      Found in src/module-elasticsuite-core/Model/DataProvider/Suggestions.php - About 35 mins to fix

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

                Context $context,
                Structure $configStructure,
                ConfigSectionChecker $sectionChecker,
                RelevanceConfig $backendConfig,
                PageFactory $resultPageFactory

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

                  \Magento\Config\Model\Config\Structure\Element\Field $field,
                  \Magento\Framework\Data\Form\Element\Fieldset $fieldset,
                  $path,
                  $fieldPrefix = '',
                  $labelPrefix = ''

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

                    ContainerConfigurationInterface $containerConfig,
                    $analyzer = null,
                    FieldFilterInterface $fieldFilter = null,
                    $defaultField = null,
                    $boost = 1

              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/Api/Index/IndexOperationInterface.php - About 35 mins to fix

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

                        $identifier,
                        $name,
                        $defaultSearchType,
                        MappingInterface $mapping,
                        $needInstall = false
                Severity: Minor
                Found in src/module-elasticsuite-core/Index/Index.php - About 35 mins to fix

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

                          Reader $reader,
                          CacheInterface $cache,
                          IndexSettingsInterface $indexSettings,
                          ObjectManagerInterface $objectManager,
                          $cacheId = self::CACHE_ID

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

                            Context $context,
                            Structure $configStructure,
                            ConfigSectionChecker $sectionChecker,
                            RelevanceConfig $backendConfig,
                            ForwardFactory $resultForwardFactory

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

                          public function aroundLoad(FlatResource $categoryResource, \Closure $proceed, $category, $value, $field = null)

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

                                Template\Context $context,
                                Data $jsonHelper,
                                TrackerHelper $trackerHelper,
                                Registry $registry,
                                array $data = []
                        Severity: Minor
                        Found in src/module-elasticsuite-tracker/Block/Variables/Page/AbstractBlock.php - About 35 mins to fix

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

                                  \Magento\Backend\Block\Template\Context $context,
                                  \Smile\ElasticsuiteAnalytics\Model\Report\Context $reportContext,
                                  \Smile\ElasticsuiteTracker\Model\IndexManager $indexManager,
                                  \Magento\Framework\Serialize\Serializer\Json $jsonSerializer,
                                  array $data = []

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

                                    \Smile\ElasticsuiteCore\Search\Request\Builder $searchRequestBuilder,
                                    Context $context,
                                    array $aggregationProviders = [],
                                    array $queryProviders = [],
                                    $containerName = 'tracking_log_event'
                            Severity: Minor
                            Found in src/module-elasticsuite-analytics/Model/Report/SearchRequestBuilder.php - About 35 mins to fix

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

                                      ActionFactory $actionFactory,
                                      ManagerInterface $eventManager,
                                      StoreManagerInterface $storeManager,
                                      Url $urlModel,
                                      VirtualCategoryRoot $virtualCategoryRoot
                              Severity: Minor
                              Found in src/module-elasticsuite-virtual-category/Controller/Router.php - About 35 mins to fix

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

                                        Field $field,
                                        $context,
                                        ResolveInfo $info,
                                        array $value = null,
                                        array $args = null
                                Severity: Minor
                                Found in src/module-elasticsuite-catalog-graph-ql/Model/Resolver/Aggregations.php - About 35 mins to fix

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

                                          \Magento\Framework\View\Element\Template\Context $context,
                                          \Magento\Framework\Json\Helper\Data $jsonHelper,
                                          \Smile\ElasticsuiteTracker\Helper\Data $trackerHelper,
                                          \Magento\Framework\Registry $registry,
                                          array $data = []
                                  Severity: Minor
                                  Found in src/module-elasticsuite-tracker/Block/Variables/AbstractBlock.php - About 35 mins to fix

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

                                        public function resolve(Field $field, $context, ResolveInfo $info, array $value = null, array $args = null)

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

                                              \Magento\Backend\Block\Context $context,
                                              \Magento\Framework\Data\FormFactory $formFactory,
                                              \Magento\Framework\Registry $registry,
                                              ReadHandler $readHandler,
                                              array $data = []

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

                                                \Smile\ElasticsuiteCore\Search\Request\Aggregation\AggregationFactory $aggregationFactory,
                                                \Smile\ElasticsuiteCore\Search\Request\Aggregation\MetricFactory $metricFactory,
                                                \Smile\ElasticsuiteCore\Search\Request\Aggregation\PipelineFactory $pipelineFactory,
                                                \Smile\ElasticsuiteCore\Search\Request\Query\QueryFactory $queryFactory,
                                                \Smile\ElasticsuiteAnalytics\Helper\Data $helper
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language