Showing 1,375 of 1,375 total issues
Argument 1 (condition)
is \Magento\Framework\Api\ExtensibleDataInterface|\Smile\ElasticsuiteCatalogRule\Api\Data\ConditionInterface
but \Smile\ElasticsuiteVirtualCategory\Model\Rule::dataModelToArray()
takes \Smile\ElasticsuiteCatalogRule\Model\Data\Condition
defined at /code/src/module-elasticsuite-catalog-rule/Model/Rule.php:181
Open
Open
$this->getConditions()->setConditions([])->loadArray($this->dataModelToArray($condition));
- Exclude checks
Assigning array<int></int>
to property but \Smile\ElasticsuiteVirtualCategory\Model\Rule->instances
is \Magento\Catalog\Model\Category[]
Open
Open
$this->instances[$rootCategoryId][$cacheKey] = $rootCategory;
- Exclude checks
Argument 1 (category)
is \Magento\Catalog\Model\Category
but \Smile\ElasticsuiteVirtualCategory\Model\ResourceModel\Category\Product\Position::getProductPositionsByCategory()
takes \Magento\Catalog\Api\Data\CategoryInterface|int
defined at /code/src/module-elasticsuite-virtual-category/Model/ResourceModel/Category/Product/Position.php:78
Open
Open
$productPositions = $this->saveHandler->getProductPositionsByCategory($category);
- 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
Doc-block of $scopeConfig
in __construct
is phpdoc param type \Magento\Framework\App\Config\ScopeConfigInterface
which is not a permitted replacement of the nullable param type ?\Magento\Framework\App\Config\ScopeConfigInterface
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param ScopeConfigInterface $scopeConfig Scope Config.
- Exclude checks
Doc-block of $connection
in __construct
is phpdoc param type \Magento\Framework\DB\Adapter\AdapterInterface
which is not a permitted replacement of the nullable param type ?\Magento\Framework\DB\Adapter\AdapterInterface
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param \Magento\Framework\DB\Adapter\AdapterInterface $connection Db Connection.
- Exclude checks
Argument 3 (attributes)
is \Magento\Catalog\Model\ResourceModel\Eav\Attribute[]
but \Smile\ElasticsuiteCatalog\Search\Request\Product\Aggregation\Provider\FilterableAttributes\ModifierInterface::modifyAttributes()
takes \Magento\Catalog\Model\ResourceModel\Product\Attribute[]
defined at /code/src/module-elasticsuite-catalog/Search/Request/Product/Aggregation/Provider/FilterableAttributes/ModifierInterface.php:37
Open
Open
$attributes = $modifier->modifyAttributes($storeId, $this->requestName, $attributes, $query, $filters, $queryFilters);
- Exclude checks
Possibly zero references to use statement for classlike/namespace EavSetup
(\Magento\Eav\Setup\EavSetup)
Open
Open
use Magento\Eav\Setup\EavSetup;
- Exclude checks
Possibly zero references to use statement for classlike/namespace FieldInterface
(\Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface)
Open
Open
use Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface;
- Exclude checks
Doc-block of $fieldFilter
in getWeightedSearchProperties
is phpdoc param type \Smile\ElasticsuiteCore\Api\Index\Mapping\FieldFilterInterface
which is not a permitted replacement of the nullable param type ?\Smile\ElasticsuiteCore\Api\Index\Mapping\FieldFilterInterface
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param FieldFilterInterface $fieldFilter A filter applied to fields.
- Exclude checks
Argument 1 (element)
is \Magento\Config\Model\Config\Structure\Element\Field|\Smile\ElasticsuiteCore\Model\Search\Request\RelevanceConfig\FieldInterface|\Smile\ElasticsuiteCore\Model\Search\Request\RelevanceConfig\Structure\Element\Field
but \Smile\ElasticsuiteCore\Model\Search\Request\RelevanceConfig\Structure\Element\Visibility::isVisible()
takes \Magento\Config\Model\Config\Structure\AbstractElement
defined at /code/src/module-elasticsuite-core/Model/Search/Request/RelevanceConfig/Structure/Element/Visibility.php:59
Open
Open
return $this->visibility->isVisible($this, $this->_scope);
- Exclude checks
Doc-block of $filter
in __construct
is phpdoc param type \Magento\Framework\Search\Request\QueryInterface
which is not a permitted replacement of the nullable param type ?\Magento\Framework\Search\Request\QueryInterface
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param QueryInterface $filter Search filter.
- Exclude checks
Assigning ?array
to property but \Smile\ElasticsuiteCore\Search\Request->sortOrders
is \Smile\ElasticsuiteCore\Search\Request\SortOrderInterface
Open
Open
$this->sortOrders = $sortOrders;
- 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
Returning type string
but getCalendarInterval()
is declared to return int
Open
Open
return $this->calendarInterval;
- 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
Suspicious array access to null
Open
Open
$bucketsPath[$paramName] = $path;
- Exclude checks
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\MatchPhrasePrefix
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
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\MoreLikeThis
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
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Prefix
should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface
(method returning '\Smile\ElasticsuiteCore\Search\Request\Query\Prefix'
cannot override method returning '\Smile\ElasticsuiteCore\Search\Request\QueryInterface')
defined in /code/src/module-elasticsuite-core/Search/Request/QueryInterface.php:50
Open
Open
public function setName($name): self
- Exclude checks