Smile-SA/elasticsuite

View on GitHub

Showing 1,375 of 1,375 total issues

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

        $path,
        \Magento\Framework\Search\Request\QueryInterface $query = null,
        $scoreMode = self::SCORE_MODE_NONE,
        $name = null,
        $boost = QueryInterface::DEFAULT_BOOST_VALUE
Severity: Minor
Found in src/module-elasticsuite-core/Search/Request/Query/Nested.php - About 35 mins to fix

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

        public function create(ContainerConfigurationInterface $containerConfig, $queryText, $spellingType, $boost = 1, $depth = 0)

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

              array  $clauses = [],
              int    $slop = 12,
              bool   $inOrder = true,
              string $name = null,
              string $boost = QueryInterface::DEFAULT_BOOST_VALUE
      Severity: Minor
      Found in src/module-elasticsuite-core/Search/Request/Query/Span/SpanNear.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 getWeightedFields has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

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

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

                    \Smile\ElasticsuiteCore\Model\Search\Request\RelevanceConfig\ReaderPool $readerPool,
                    \Magento\Framework\App\Config\DataFactory $dataFactory,
                    \Magento\Framework\App\CacheInterface $cache,
                    ScopeCodeResolver $scopeCodeResolver,
                    $cacheId = 'default_config_cache'

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

                      ItemFactory $itemFactory,
                      AttributeConfig $attributeConfig,
                      Provider $productCollectionProvider,
                      AutocompleteHelper $autocompleteHelper,
                      $type = self::AUTOCOMPLETE_TYPE

                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

                          $containerName,
                          $storeId,
                          BaseConfig $baseConfig,
                          RelevanceConfigFactory $relevanceConfigFactory,
                          IndexOperationInterface $indexManager
                  Severity: Minor
                  Found in src/module-elasticsuite-core/Search/Request/ContainerConfiguration.php - About 35 mins to fix

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

                            $queryText,
                            $field,
                            $minimumShouldMatch = self::DEFAULT_MINIMUM_SHOULD_MATCH,
                            $name = null,
                            $boost = QueryInterface::DEFAULT_BOOST_VALUE
                    Severity: Minor
                    Found in src/module-elasticsuite-core/Search/Request/Query/MatchQuery.php - About 35 mins to fix

                      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,
                                ForwardFactory $resultForwardFactory

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

                                  $name,
                                  $bucketsPath,
                                  $script,
                                  $window = 10,
                                  $gapPolicy = self::GAP_POLICY_SKIP

                            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

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

                                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 __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

                                            LayerFormatter $layerFormatter,
                                            AttributeRepository $attributeRepository,
                                            LayeredNavAttributesProvider $layeredNavAttributesProvider,
                                            $hideNoValueAttributes = [],
                                            $bucketNameFilter = []

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

                                              \Smile\ElasticsuiteTracker\Api\CustomerTrackingServiceInterface $service,
                                              \Magento\Framework\Stdlib\CookieManagerInterface $cookieManager,
                                              \Smile\ElasticsuiteTracker\Helper\Data $trackerHelper,
                                              \Magento\Framework\View\Layout\PageType\Config $pageTypeConfig,
                                              \Psr\Log\LoggerInterface $logger
                                      Severity: Minor
                                      Found in src/module-elasticsuite-tracker/Plugin/QuotePlugin.php - About 35 mins to fix

                                        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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language