Showing 1,357 of 1,357 total issues
Returning type \Magento\Framework\Pricing\Render
but getPriceRenderer()
is declared to return \Magento\Framework\View\Element\BlockInterface|bool
Open
Open
return $this->priceRenderer;
- Exclude checks
Assigning array
to property but \Smile\ElasticsuiteCatalog\Model\Product\Indexer\Fulltext\Action\FullFactory->fullActionPool
is \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\Full
Open
Open
$this->fullActionPool = $fullActionPool;
- Exclude checks
Suspicious array access to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\Full
Open
Open
$fullActionClass = $this->fullActionPool['default'];
- Exclude checks
Argument 1 (attribute)
is \Magento\Catalog\Api\Data\ProductAttributeInterface
but \Smile\ElasticsuiteCatalog\Helper\ProductAttribute::getMappingFieldOptions()
takes \Magento\Eav\Model\Entity\Attribute\AttributeInterface
defined at /code/src/module-elasticsuite-catalog/Helper/AbstractAttribute.php:123
Open
Open
return $this->attributeHelper->getMappingFieldOptions($attribute);
- Exclude checks
Returning type void
but aroundReindex()
is declared to return \Magento\Catalog\Model\Category
Open
Open
return;
- Exclude checks
Assigning array<int></int>
to property but \Smile\ElasticsuiteCatalog\Search\Request\Product\Aggregation\Provider\FilterableAttributes\Modifier\Statistics->applicableAttributes
is \Magento\Catalog\Model\ResourceModel\Eav\Attribute[]
Open
Open
$this->applicableAttributes[] = $attribute;
- Exclude checks
Argument 1 (attribute)
is \Magento\Catalog\Model\ResourceModel\Eav\Attribute
but \Smile\ElasticsuiteCatalog\Helper\ProductAttribute::getFilterField()
takes \Magento\Eav\Model\Entity\Attribute\AttributeInterface
defined at /code/src/module-elasticsuite-catalog/Helper/AbstractAttribute.php:338
Open
Open
return $this->mappingHelper->getFilterField($attribute);
- Exclude checks
Suspicious array access to float|int
Open
Open
$fields[$fieldName] = $this->mappingFieldFactory->create(['name' => $fieldName] + $fieldConfig);
- Exclude checks
Returning type \Smile\ElasticsuiteCore\Search\Request\SortOrderInterface
but getSortOrders()
is declared to return \Smile\ElasticsuiteCore\Search\Request\SortOrderInterface[]
Open
Open
return $this->sortOrders;
- Exclude checks
Doc-block of $filter
in __construct
is phpdoc param type \Smile\ElasticsuiteCore\Search\Request\QueryInterface
which is not a permitted replacement of the nullable param type ?\Smile\ElasticsuiteCore\Search\Request\QueryInterface
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param QueryInterface $filter Bucket filter.
- Exclude checks
Assigning ?\Magento\Framework\Search\Request\QueryInterface
to property but \Smile\ElasticsuiteCore\Search\Request\Query\Filtered->filter
is \Smile\ElasticsuiteCore\Search\Request\QueryInterface
Open
Open
$this->filter = $filter;
- Exclude checks
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Span\SpanMultiTerm
should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface
(method returning '\Smile\ElasticsuiteCore\Search\Request\Query\Span\SpanMultiTerm'
cannot override method returning '\Smile\ElasticsuiteCore\Search\Request\QueryInterface')
defined in /code/src/module-elasticsuite-core/Search/Request/QueryInterface.php:49
Open
Open
public function setName($name): self
- Exclude checks
Possibly zero references to use statement for classlike/namespace ClientConfigurationInterface
(\Smile\ElasticsuiteCore\Api\Client\ClientConfigurationInterface)
Open
Open
use Smile\ElasticsuiteCore\Api\Client\ClientConfigurationInterface;
- Exclude checks
Suspicious array access to null
Open
Open
$this->indicesStats[$indexName] = current($indexStatsResponse['indices']);
- Exclude checks
Possibly zero references to use statement for classlike/namespace ThesaurusFactory
(\Smile\ElasticsuiteThesaurus\Model\ThesaurusFactory)
Open
Open
use Smile\ElasticsuiteThesaurus\Model\ThesaurusFactory;
- Exclude checks
Argument 3 (baseWeight)
is float
but \Smile\ElasticsuiteThesaurus\Model\Index::getWeightedRewrites()
takes int
defined at /code/src/module-elasticsuite-thesaurus/Model/Index.php:351
Open
Open
$rewrites = $this->getWeightedRewrites($synonymRewrites, $config->getSynonymWeightDivider(), $originalBoost);
- Exclude checks
Doc-block of $resource
in __construct
is phpdoc param type \Magento\Framework\Model\ResourceModel\AbstractResource
which is not a permitted replacement of the nullable param type ?\Magento\Framework\Model\ResourceModel\AbstractResource
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource Resource.
- Exclude checks
Argument 1 (attribute)
is \Magento\Catalog\Api\Data\ProductAttributeInterface
but \Smile\ElasticsuiteCatalog\Helper\ProductAttribute::getFilterField()
takes \Magento\Eav\Model\Entity\Attribute\AttributeInterface
defined at /code/src/module-elasticsuite-catalog/Helper/AbstractAttribute.php:338
Open
Open
return $this->attributeHelper->getFilterField($attribute);
- Exclude checks
Argument 1 (attributeCollection)
is \Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection
but \Smile\ElasticsuiteCatalog\Model\ResourceModel\Eav\Indexer\Fulltext\Datasource\AbstractAttributeData::addIndexedFilterToAttributeCollection()
takes \Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection
defined at /code/src/module-elasticsuite-catalog/Model/ResourceModel/Eav/Indexer/Fulltext/Datasource/AbstractAttributeData.php:75
Open
Open
$this->resourceModel->addIndexedFilterToAttributeCollection($attributeCollection);
- Exclude checks
Call to deprecated function \Smile\ElasticsuiteCatalog\Model\Product\Indexer\Fulltext\Datasource\InventoryData::getResourceModel()
defined at /code/src/module-elasticsuite-catalog/Model/Product/Indexer/Fulltext/Datasource/InventoryData.php:88
Open
Open
$inventoryData = $this->getResourceModel()->loadInventoryData($storeId, array_keys($indexData));
- Exclude checks