Showing 1,375 of 1,375 total issues
Assigning string
to property but \Smile\ElasticsuiteCore\Search\Request->spellingType
is int
Open
Open
$this->spellingType = $spellingType;
- 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
Argument 2 (productIds)
is ?array|?array{}
but \Smile\ElasticsuiteCatalog\Model\Product\Indexer\Fulltext\Action\Full::getSearchableProducts()
takes string
defined at /code/src/module-elasticsuite-catalog/Model/Product/Indexer/Fulltext/Action/Full.php:83
Open
Open
$products = $this->getSearchableProducts($storeId, $productIds, $productId);
- Exclude checks
Returning type \Smile\ElasticsuiteCatalog\Model\ResourceModel\Category\Fulltext\Collection
but setSearchQuery()
is declared to return \Smile\ElasticsuiteCatalog\Model\ResourceModel\Product\Fulltext\Collection
Open
Open
return $this;
- 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
$fields = array_unique([$subject->getAttributeCode(), $this->attributeHelper->getFilterField($subject)]);
- Exclude checks
Possibly zero references to use statement for classlike/namespace ObjectManagerInterface
(\Magento\Framework\ObjectManagerInterface)
Open
Open
use Magento\Framework\ObjectManagerInterface;
- Exclude checks
Possibly zero references to use statement for classlike/namespace TypeFactory
(\Smile\ElasticsuiteCore\Api\Index\TypeInterfaceFactory)
Open
Open
use Smile\ElasticsuiteCore\Api\Index\TypeInterfaceFactory as TypeFactory;
- Exclude checks
Argument 1 (element)
is \Magento\Config\Model\Config\Structure\Element\Section|\Smile\ElasticsuiteCore\Model\Search\Request\RelevanceConfig\Structure\Element\Section
but \Smile\ElasticsuiteCore\Model\Search\Request\RelevanceConfig\Structure\Element\Section\Visibility::isVisible()
takes \Magento\Config\Model\Config\Structure\AbstractElement
defined at /code/src/module-elasticsuite-core/Model/Search/Request/RelevanceConfig/Structure/Element/Section/Visibility.php:33
Open
Open
return $this->visibility->isVisible($this, $this->_scope);
- 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
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
Doc-block of $nestedFilter
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 $nestedFilter Nested filter for the bucket.
- Exclude checks
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Boolean
should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface
(parameter #1 with no type cannot replace original parameter with type 'string')
defined in /code/src/module-elasticsuite-core/Search/Request/QueryInterface.php:50
Open
Open
public function setName($name): self
- Exclude checks
Returning type null
but getSearchQuery()
is declared to return \Smile\ElasticsuiteCore\Search\Request\QueryInterface
Open
Open
return $query;
- Exclude checks
Suspicious type null
of a variable or expression used to build a string. (Expected type to be able to cast to a string) Open
Open
return trim($this->urlBuilder->getDirectUrl($urlPath), '/') . $this->categoryUrlSuffix;
- 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
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
Possibly zero references to use statement for classlike/namespace CategoryInterface
(\Magento\Catalog\Api\Data\CategoryInterface)
Open
Open
use Magento\Catalog\Api\Data\CategoryInterface;
- Exclude checks
Possibly zero references to use statement for classlike/namespace ContainerConfigurationFactory
(\Smile\ElasticsuiteCore\Search\Request\ContainerConfigurationFactory)
Open
Open
use Smile\ElasticsuiteCore\Search\Request\ContainerConfigurationFactory;
- Exclude checks
Possibly zero references to use statement for classlike/namespace Category
(\Magento\Catalog\Model\Category)
Open
Open
use Magento\Catalog\Model\Category;
- Exclude checks