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

        \Magento\Framework\App\Action\Context $context,
        \Magento\Framework\Controller\Result\JsonFactory $jsonResultFactory,
        \Magento\Catalog\Model\Layer\Resolver $layerResolver,
        \Magento\Catalog\Api\CategoryRepositoryInterface $categoryRepository,
        $filterListPool = []
Severity: Minor
Found in src/module-elasticsuite-catalog/Controller/Navigation/Filter/Ajax.php - About 35 mins to fix

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

            QueryFactory $queryFactory,
            Yesno $booleanSource,
            string $attributeCode,
            string $typeIdentifier,
            string $attributeLabel

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

          private function getCoverageRates($storeId, $requestName, $query = null, $filters = [], $queryFilters = [])

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

                \Smile\ElasticsuiteCatalog\Model\ResourceModel\Product\Search\Position $resourceModel,
                \Magento\Store\Model\StoreManagerInterface $storeManagerInterface,
                \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig,
                \Magento\Search\Model\ResourceModel\Query\Collection $queryCollection,
                \Magento\Framework\App\Cache\Type\FrontendPool $frontendCachePool
        Severity: Minor
        Found in src/module-elasticsuite-catalog/Model/Product/Search/Position.php - About 35 mins to fix

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

                  ResourceConnection $resource,
                  StoreManagerInterface $storeManager,
                  MetadataPool $metadataPool,
                  StockRegistryInterface $stockRegistry,
                  StockConfigurationInterface $stockConfiguration

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

                    ContextInterface $context,
                    UiComponentFactory $uiComponentFactory,
                    SerializerInterface $serializer,
                    array $components = [],
                    array $data = []

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

                      Context          $context,
                      QueryFactory     $queryFactory,
                      Data             $jsonHelper,
                      PreviewFactory   $previewFactory,
                      ContextInterface $searchContext

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

                        CollectionProviderFactory $collectionProviderFactory,
                        CacheInterface $cache,
                        CacheKeyProviderInterface $cacheKeyProvider,
                        OptimizerInterface $optimizer,
                        array $appliers = []

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

                          ResourceConnection $resource,
                          StoreManagerInterface $storeManager,
                          MetadataPool $metadataPool,
                          StockResolverInterface $stockResolver,
                          StockIndexTableNameResolverInterface $stockIndexTableProvider

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

                            CollectionProviderFactory $collectionProviderFactory,
                            CacheInterface $cache,
                            CacheKeyProviderInterface $cacheKeyProvider,
                            array $appliers = [],
                            $cacheLifetime = self::DEFAULT_CACHE_LIFETIME

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

                              ResourceConnection $resource,
                              StoreManagerInterface $storeManager,
                              MetadataPool $metadataPool,
                              Config $eavConfig,
                              ObjectManagerInterface $objectManager

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

                                CollectionProviderFactory $collectionProviderFactory,
                                CacheInterface $cache,
                                CacheKeyProviderInterface $cacheKeyProvider,
                                OptimizerInterface $optimizer,
                                array $appliers = []

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

                                  AttributeCollectionFactory $attributeCollectionFactory,
                                  FulltextCollectionFactory $fulltextCollectionFactory,
                                  StoreManagerInterface $storeManager,
                                  ContextInterface $searchContext,
                                  CategoryFilterProvider $categoryFilterProvider

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

                                    \Magento\Backend\Block\Template\Context $context,
                                    \Magento\Framework\Data\Form\Element\Factory $elementFactory,
                                    \Magento\Rule\Block\Conditions $conditions,
                                    \Smile\ElasticsuiteCatalogRule\Model\RuleFactory $ruleFactory,
                                    array $data = []
                            Severity: Minor
                            Found in src/module-elasticsuite-catalog-rule/Block/Product/Conditions.php - About 35 mins to fix

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

                                      ResourceConnection $resource,
                                      StoreManagerInterface $storeManager,
                                      MetadataPool $metadataPool,
                                      DimensionCollectionFactory $dimensionCollectionFactory,
                                      PriceTableResolver $priceTableResolver

                                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

                                          StoreManagerInterface $storeManager,
                                          Manager $moduleManager,
                                          Iterator $childrenIterator,
                                          AuthorizationInterface $authorization,
                                          SectionVisibility $visibility

                                    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

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

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

                                                Initial $initialConfig,
                                                Converter $converter,
                                                ScopedFactory $collectionFactory,
                                                Container $containerReader,
                                                StoreManagerInterface $storeManager
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language