Showing 1,375 of 1,375 total issues
Argument 1 (category)
is \Magento\Catalog\Model\Category
but \Smile\ElasticsuiteVirtualCategory\Model\ResourceModel\Category\Product\Position::getProductBlacklistByCategory()
takes \Magento\Catalog\Api\Data\CategoryInterface|int
defined at /code/src/module-elasticsuite-virtual-category/Model/ResourceModel/Category/Product/Position.php:98
Open
Open
$productIds = $this->productPositionResource->getProductBlacklistByCategory($category);
- Exclude checks
Returning type float
but getMinValue()
is declared to return int
Open
Open
return $minValue;
- Exclude checks
Argument 2 (categoryIds)
is array|null
but \Smile\ElasticsuiteCatalog\Model\Category\Indexer\Fulltext\Action\Full::getSearchableCategories()
takes string
defined at /code/src/module-elasticsuite-catalog/Model/Category/Indexer/Fulltext/Action/Full.php:75
Open
Open
$categories = $this->getSearchableCategories($storeId, $categoryIds, $lastCategoryId);
- Exclude checks
Suspicious array access to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\Full
Open
Open
$fullActionClass = $this->fullActionPool[$engine];
- Exclude checks
Doc-block of $stringToBoolInputs
in afterStringToBoolConverting
is phpdoc param type array
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 array $stringToBoolInputs Inputs to be converted
- Exclude checks
Argument 1 (query)
is \Magento\Search\Model\Query
but \Smile\ElasticsuiteCore\Search\Context::setCurrentSearchQuery()
takes \Magento\Search\Model\QueryInterface
defined at /code/src/module-elasticsuite-core/Search/Context.php:85
Open
Open
$this->searchContext->setCurrentSearchQuery($query);
- 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
float|int
passed to foreach instead of array Open
Open
foreach ($fields as $fieldName => $field) {
- Exclude checks
Possibly zero references to use statement for classlike/namespace SubscriptionStatusProvider
(\Magento\Analytics\Model\SubscriptionStatusProvider)
Open
Open
use Magento\Analytics\Model\SubscriptionStatusProvider;
- Exclude checks
Possibly zero references to use statement for classlike/namespace UrlInterface
(\Magento\Framework\UrlInterface)
Open
Open
use Magento\Framework\UrlInterface;
- 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
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\Span\SpanMultiTerm
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
Doc-block of $name
in __construct
is phpdoc param type string
which is not a permitted replacement of the nullable param type ?string
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param string $name Query Name
- Exclude checks
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Term
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
Argument 1 (array_arg)
is null
but \ksort()
takes array
Open
Open
ksort($this->elasticsuiteIndices, SORT_STRING | SORT_NATURAL);
- Exclude checks
Possibly zero references to use statement for classlike/namespace DateTimeInterface
(\DateTimeInterface)
Open
Open
use DateTimeInterface;
- Exclude checks
Default value for \Smile\ElasticsuiteTracker\Api\EventProcessorInterface
$eventProcessors
can't be array{}
Open
Open
public function __construct(ResourceModel\EventQueue $resourceModel, $eventProcessors = [])
- Exclude checks
Returning type \Magento\Framework\DataObject
but getAppliedVirtualCategoryRoot()
is declared to return \Magento\Catalog\Api\Data\CategoryInterface
Open
Open
return $this->virtualCategoryRoot->getByUrlKeys($urlKeys);
- Exclude checks