Showing 1,375 of 1,375 total issues
Possibly zero references to use statement for classlike/namespace ThesaurusFactory
(\Smile\ElasticsuiteThesaurus\Model\ThesaurusFactory)
Open
Open
use Smile\ElasticsuiteThesaurus\Model\ThesaurusFactory;
- Exclude checks
Possibly zero references to use statement for classlike/namespace ThesaurusFactory
(\Smile\ElasticsuiteThesaurus\Model\ThesaurusFactory)
Open
Open
use Smile\ElasticsuiteThesaurus\Model\ThesaurusFactory;
- Exclude checks
Call with 2 arg(s) to \Smile\ElasticsuiteVirtualCategory\Model\Rule\Condition\Product::getSearchQuery()
which only takes 1 arg(s) defined at /code/src/module-elasticsuite-virtual-category/Model/Rule/Condition/Product.php:99
Open
Open
return parent::getSearchQuery($excludedCategories, $virtualCategoryRoot);
- Exclude checks
Possibly zero references to use statement for classlike/namespace LayerCategoryConfig
(\Magento\Catalog\Model\Config\LayerCategoryConfig)
Open
Open
use Magento\Catalog\Model\Config\LayerCategoryConfig;
- 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
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
$oldPositionProductIds = array_keys($this->saveHandler->getProductPositionsByCategory($category));
- Exclude checks
Argument 1 (product)
is \Magento\Catalog\Model\Product
but \Smile\ElasticsuiteVirtualCategory\Model\Url::getProductRequestPath()
takes \Smile\ElasticsuiteVirtualCategory\Model\Product
defined at /code/src/module-elasticsuite-virtual-category/Model/Url.php:170
Open
Open
$requestPath = $this->urlModel->getProductRequestPath($product, $category);
- Exclude checks
Argument 1 (product)
is \Magento\Catalog\Model\Product
but \Smile\ElasticsuiteVirtualCategory\Model\Url::getProductRequestPath()
takes \Smile\ElasticsuiteVirtualCategory\Model\Product
defined at /code/src/module-elasticsuite-virtual-category/Model/Url.php:170
Open
Open
$requestPath = $this->urlModel->getProductRequestPath($product, $product->getCategory());
- Exclude checks
Returning type ?string
but getRequestPath()
is declared to return string
Open
Open
return $requestPath;
- 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
(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\Span\SpanNot
should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface
(method returning '\Smile\ElasticsuiteCore\Search\Request\Query\Span\SpanNot'
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
Suspicious array access to \Magento\Framework\DataObject
Open
Open
if (array_key_exists($item['indexer_id'], $indicesMapping)) {
- Exclude checks
Suspicious array access to \Magento\Framework\DataObject
Open
Open
$item['indexer_updated']
- Exclude checks
Argument 3 (baseWeight)
is float
but \Smile\ElasticsuiteThesaurus\Model\Index::getWeightedRewrites()
takes int
defined at /code/src/module-elasticsuite-thesaurus/Model/Index.php:351
Open
Open
$rewrites = $this->getWeightedRewrites($synonymRewrites, $config->getSynonymWeightDivider(), $originalBoost);
- Exclude checks
Doc-block of $resourceCollection
in __construct
is phpdoc param type \Magento\Framework\Data\Collection\AbstractDb
which is not a permitted replacement of the nullable param type ?\Magento\Framework\Data\Collection\AbstractDb
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection Magento Collection
- Exclude checks
Doc-block of getProductRequestPath
has declared return type string
which is not a permitted replacement of the nullable return type ?string
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @return string
- Exclude checks
Possibly zero references to use statement for classlike/namespace CollectionFactory
(\Smile\ElasticsuiteVirtualCategory\Model\ResourceModel\Product\CollectionFactory)
Open
Open
use Smile\ElasticsuiteVirtualCategory\Model\ResourceModel\Product\CollectionFactory;
- Exclude checks
Possibly zero references to use statement for classlike/namespace CategoryFactory
(\Magento\Catalog\Model\CategoryFactory)
Open
Open
use Magento\Catalog\Model\CategoryFactory;
- Exclude checks
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\MatchQuery
should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface
(method returning '\Smile\ElasticsuiteCore\Search\Request\Query\MatchQuery'
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
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Span\SpanOr
should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface
(method returning '\Smile\ElasticsuiteCore\Search\Request\Query\Span\SpanOr'
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