Showing 1,375 of 1,375 total issues
Assigning \Magento\Framework\App\CacheInterface
to property but \Smile\ElasticsuiteCore\Search\Request\RelevanceConfig\App\Config\ScopePool->cache
is \Magento\Framework\Cache\FrontendInterface
Open
Open
$this->cache = $cache;
- Exclude checks
Assigning array{}
to property but \Smile\ElasticsuiteIndices\Model\IndexStatsProvider->elasticsuiteIndices
is null
Open
Open
$this->elasticsuiteIndices = [];
- Exclude checks
Suspicious array access to ?mixed
Open
Open
$labelsByThesaurusId[$currentTerm['thesaurus_id']][] = $label;
- Exclude checks
Returning type \Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfigurationInterface
but getThesaurusConfig()
is declared to return \Smile\ElasticsuiteThesaurus\Config\ThesaurusConfig
Open
Open
return $this->thesaurusConfigFactory->create($storeId, $containerName);
- Exclude checks
Returning type null
but getProductListBlock()
is declared to return \Magento\Framework\View\Element\BlockInterface
Open
Open
return is_object($productListBlock) ? $productListBlock : null;
- Exclude checks
Argument 1 (categoryId)
is string
but \Smile\ElasticsuiteTracker\Block\Variables\Page\Catalog::getCategoryNameById()
takes int
defined at /code/src/module-elasticsuite-tracker/Block/Variables/Page/Catalog.php:233
Open
Open
$breadcrumb[] = html_entity_decode($this->getCategoryNameById($categoryId, $category->getStoreId()));
- Exclude checks
Invalid offset "query_id"
of array type array{is_spellchecked:bool}
Open
Open
$eventData['page']['search']['query_id'] = (int) $eventData['page']['search']['query_id'];
- Exclude checks
Possibly zero references to use statement for classlike/namespace LoggerInterface
(\Psr\Log\LoggerInterface)
Open
Open
use Psr\Log\LoggerInterface;
- Exclude checks
Argument 1 (category)
is \Magento\Catalog\Model\Category
but \Smile\ElasticsuiteVirtualCategory\Block\Adminhtml\Catalog\Category\VirtualRule::getVirtualRule()
takes \Magento\Catalog\Api\Data\CategoryInterface
defined at /code/src/module-elasticsuite-virtual-category/Block/Adminhtml/Catalog/Category/VirtualRule.php:122
Open
Open
$virtualRule = $this->getVirtualRule($this->getCategory());
- Exclude checks
Returning type false
but getCurrentCategory()
is declared to return \Magento\Catalog\Model\Category
Open
Open
return $category;
- Exclude checks
Possibly zero references to use statement for classlike/namespace CategoryModel
(\Magento\Catalog\Model\Category)
Open
Open
use Magento\Catalog\Model\Category as CategoryModel;
- Exclude checks
Returning type \Magento\Framework\DB\Select
but getBaseSelectGlobal()
is declared to return \Zend_Db_Select
Open
Open
return $select;
- Exclude checks
Possibly zero references to use statement for classlike/namespace NoSuchEntityException
(\Magento\Framework\Exception\NoSuchEntityException)
Open
Open
use Magento\Framework\Exception\NoSuchEntityException;
- Exclude checks
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
$oldBlacklistedProductIds = array_values($this->saveHandler->getProductBlacklistByCategory($category));
- Exclude checks
Argument 1 (appliedRoot)
is \Magento\Catalog\Model\Category
but \Smile\ElasticsuiteVirtualCategory\Model\VirtualCategory\Root::getSubtreePathIds()
takes \Magento\Catalog\Api\Data\CategoryInterface
defined at /code/src/module-elasticsuite-virtual-category/Model/VirtualCategory/Root.php:159
Open
Open
$categoryIds = $this->virtualCategoryRoot->getSubtreePathIds($appliedRoot, $category);
- Exclude checks