Showing 1,375 of 1,375 total issues
Possibly zero references to use statement for classlike/namespace ObjectManager
(\Magento\Framework\App\ObjectManager)
Open
Open
use Magento\Framework\App\ObjectManager;
- Exclude checks
Doc-block of $sortOrders
in __construct
is phpdoc param type \Smile\ElasticsuiteCore\Search\Request\SortOrderInterface[]
which is not a permitted replacement of the nullable param type ?array
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param SortOrderInterface[] $sortOrders Sort orders specification.
- Exclude checks
Returning type int
but getSpellingType()
is declared to return string
Open
Open
return $this->spellingType;
- Exclude checks
Default value for int
$interval
can't be string
Open
Open
public function __construct(
- 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
Returning type float
but getValue()
is declared to return int|string
Open
Open
return $this->value;
- Exclude checks
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Exists
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
Possibly zero references to use statement for classlike/namespace OptimizerInterface
(\Smile\ElasticsuiteCatalogOptimizer\Api\Data\OptimizerInterface)
Open
Open
use Smile\ElasticsuiteCatalogOptimizer\Api\Data\OptimizerInterface;
- Exclude checks
Possibly zero references to use statement for classlike/namespace Optimizer
(\Smile\ElasticsuiteCatalogOptimizer\Model\Optimizer)
Open
Open
use Smile\ElasticsuiteCatalogOptimizer\Model\Optimizer;
- Exclude checks
Possibly zero references to use statement for classlike/namespace Redirect
(\Magento\Backend\Model\View\Result\Redirect)
Open
Open
use Magento\Backend\Model\View\Result\Redirect;
- 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
Possibly zero references to use statement for classlike/namespace TypeInterface
(\Smile\ElasticsuiteCore\Api\Index\TypeInterface)
Open
Open
use Smile\ElasticsuiteCore\Api\Index\TypeInterface;
- Exclude checks
Returning type ?array
but getRootFilter()
is declared to return array
Open
Open
return $filter;
- Exclude checks
Argument 4 (spellingType)
is 1|int
but \Smile\ElasticsuiteCore\Search\Request\Query\Builder::createQuery()
takes string
defined at /code/src/module-elasticsuite-core/Search/Request/Query/Builder.php:75
Open
Open
'query' => $this->queryBuilder->createQuery($containerConfig, $query, $queryFilters, $spellingType),
- 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 (category)
is \Magento\Catalog\Model\Category
but \Smile\ElasticsuiteCatalog\Model\Layer\Filter\Category::getCategoryFilterUrl()
takes \Magento\Catalog\Api\Data\CategoryInterface
defined at /code/src/module-elasticsuite-catalog/Model/Layer/Filter/Category.php:264
Open
Open
'url' => $this->getCategoryFilterUrl($category),
- Exclude checks
Assigning ?\Magento\Framework\App\Config\ScopeConfigInterface
to property but \Smile\ElasticsuiteCatalog\Model\Product\Indexer\Fulltext\Datasource\AttributeData->scopeConfig
is \Magento\Framework\App\Config\ScopeConfigInterface
Open
Open
$this->scopeConfig = $scopeConfig;
- Exclude checks
Argument 1 (attributes)
is \Magento\Catalog\Model\ResourceModel\Product\Attribute[]
but \Smile\ElasticsuiteCatalog\Search\Request\Product\Aggregation\Provider\FilterableAttributes::getAggregationsConfig()
takes \Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection
defined at /code/src/module-elasticsuite-catalog/Search/Request/Product/Aggregation/Provider/FilterableAttributes.php:100
Open
Open
$aggregations = $this->getAggregationsConfig($attributes);
- 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
$field = $this->mappingHelper->getFilterField($attribute);
- Exclude checks
Possibly zero references to use statement for classlike/namespace CompletePackageInterface
(\Composer\Package\CompletePackageInterface)
Open
Open
use Composer\Package\CompletePackageInterface;
- Exclude checks