Smile-SA/elasticsuite

View on GitHub

Showing 607 of 1,357 total issues

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

        ContainerConfigurationInterface $containerConfiguration,
        ApplierList $applier,
        $size,
        $queryText = null,
        $category = null

    Function _createResolver has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        function _createResolver(scopes, prefixes = [''], rootScopes = scopes, fallback, getTarget = () => scopes[0]) {
    Severity: Minor
    Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 35 mins to fix

      Function determineUnitForFormatting has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          function determineUnitForFormatting(scale, numTicks, minUnit, min, max) {
      Severity: Minor
      Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 35 mins to fix

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

                \Magento\Backend\Block\Context $context,
                \Magento\Framework\Data\FormFactory $formFactory,
                \Smile\ElasticsuiteCatalogRule\Model\RuleFactory $ruleFactory,
                \Magento\Framework\Registry $registry,
                array $data = []

          Function getNearestItems has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              function getNearestItems(chart, position, axis, intersect, useFinalPosition) {
          Severity: Minor
          Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 35 mins to fix

            Function skip has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                function skip(ticks, newTicks, spacing, majorStart, majorEnd) {
            Severity: Minor
            Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 35 mins to fix

              Function lttbDecimation has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  function lttbDecimation(data, start, count, availableWidth, options) {
              Severity: Minor
              Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 35 mins to fix

                Function optimizedEvaluateItems has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    function optimizedEvaluateItems(chart, axis, position, handler, intersect) {
                Severity: Minor
                Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 35 mins to fix

                  Function determineLimits has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      function determineLimits(angle, pos, size, min, max) {
                  Severity: Minor
                  Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 35 mins to fix

                    Function _steppedLineTo has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        function _steppedLineTo(ctx, previous, target, flip, mode) {
                    Severity: Minor
                    Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 35 mins to fix

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

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

                            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

                                      \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

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

                                  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

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

                                      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

                                                ResourceConnection $resource,
                                                StoreManagerInterface $storeManager,
                                                MetadataPool $metadataPool,
                                                Config $eavConfig,
                                                ObjectManagerInterface $objectManager
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language