Showing 620 of 1,375 total issues
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ContextInterface $context,
UiComponentFactory $uiComponentFactory,
UrlInterface $urlBuilder,
array $components = [],
array $data = [],
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
\Smile\ElasticsuiteCore\Index\Indices\Config $indicesConfig,
IndexerRegistry $indexerRegistry,
StoreManagerInterface $storeManager,
IndexOperationInterface $indexOperation,
AttributeHelper $attributeHelper,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
\Magento\Framework\View\Element\Template\Context $context,
\Magento\Catalog\Model\Layer\Resolver $layerResolver,
\Magento\Catalog\Model\Layer\FilterList $filterList,
\Magento\Catalog\Model\Layer\AvailabilityFlagInterface $visibilityFlag,
\Magento\Framework\ObjectManagerInterface $objectManager,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$name,
$primaryFieldName,
$requestFieldName,
OptimizerCollectionFactory $optimizerCollectionFactory,
PoolInterface $modifierPool,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
\Magento\Framework\Model\Context $context,
\Magento\Framework\Registry $registry,
\Magento\Framework\Data\FormFactory $formFactory,
\Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate,
\Smile\ElasticsuiteCatalogRule\Model\Rule\Condition\CombineFactory $conditionsFactory,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Resolver $layerResolver,
ScopeConfigInterface $scopeConfig,
Data $catalogSearchHelper,
ManagerInterface $messageManager,
ResultFactory $resultFactory,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ProductCollectionFactory $collectionFactory,
ItemDataFactory $itemFactory,
QueryFactory $queryFactory,
$storeId,
$size = 10,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$field,
$direction,
$nestedPath,
QueryInterface $nestedFilter = null,
$scoreMode = self::SCORE_MODE_MIN,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$scriptType,
$lang,
$source,
$params = [],
$direction = self::SORT_ASC,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Reader $reader,
CacheInterface $cache,
MappingFactory $mappingFactory,
MappingFieldFactory $mappingFieldFactory,
DataSourceResolverFactory $dataSourceResolverFactory,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
IndexOperationInterface $indexOperation,
CacheHelper $cacheHelper,
Batch $batch,
DataSourceResolverInterfaceFactory $dataSourceResolverFactory,
IndexSettingsInterface $indexSettings,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
array $must = [],
array $should = [],
array $mustNot = [],
$minimumShouldMatch = 1,
$name = null,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
\Magento\Store\Model\StoreManagerInterface $storeManager,
\Smile\ElasticsuiteCore\Api\Index\IndexSettingsInterface $indexSettings,
\Smile\ElasticsuiteCore\Api\Client\ClientInterface $client,
\Smile\ElasticsuiteCore\Api\Index\IndexOperationInterface $indexOperation,
\Smile\ElasticsuiteTracker\Model\EventIndex\DateBounds $dateBounds,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
\Magento\Search\Model\SearchEngine $searchEngine,
\Smile\ElasticsuiteCore\Search\Request\Builder $searchRequestBuilder,
\Smile\ElasticsuiteAnalytics\Model\Report\Context $context,
\Smile\ElasticsuiteCore\Search\Request\Aggregation\AggregationFactory $aggregationFactory,
\Smile\ElasticsuiteCore\Search\Request\Query\QueryFactory $queryFactory,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Template\Context $context,
\Magento\Framework\Json\Helper\Data $jsonHelper,
\Smile\ElasticsuiteTracker\Helper\Data $trackerHelper,
\Magento\Framework\Registry $registry,
\Magento\Catalog\Model\Layer\Resolver $layerResolver,
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
CategoryAttributeQuery $categoryAttributeQuery,
CategoryAttributesMapper $categoryAttributesMapper,
RootCategoryProvider $rootCategoryProvider,
LayerFormatter $layerFormatter,
ResourceConnection $resourceConnection,
Method aroundCreate
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
QueryBuilder $subject,
\Closure $proceed,
ContainerConfigurationInterface $containerConfig,
$queryText,
$spellingType,
Function renderText
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function renderText(ctx, text, x, y, font, opts = {}) {
Avoid deeply nested control flow statements. Open
Open
for (var key in json) {
if (Object.prototype.hasOwnProperty.call(json, key)) {
html += '<li>';
var keyRepr = options.withQuotes ?
'<span class="json-string">"' + key + '"</span>' : key;
Method aroundCreateQuery
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
QueryBuilder $subject,
\Closure $proceed,
ContainerConfigurationInterface $containerConfiguration,
$queryText,
array $filters,