Showing 1,375 of 1,375 total issues
Argument 1 (store)
is \Magento\Store\Model\StoreManagerInterface
but \Smile\ElasticsuiteIndices\Model\ResourceModel\StoreIndices\Collection::prepareItem()
takes \Magento\Store\Api\Data\StoreInterface
defined at /code/src/module-elasticsuite-indices/Model/ResourceModel/StoreIndices/Collection.php:94
Open
Open
$item = $this->prepareItem($store, $indexName);
- Exclude checks
Possibly zero references to use statement for classlike/namespace Event
(\Composer\EventDispatcher\Event)
Open
Open
use Composer\EventDispatcher\Event;
- Exclude checks
Possibly zero references to use statement for classlike/namespace QueryFactory
(\Smile\ElasticsuiteCore\Search\Request\Query\QueryFactory)
Open
Open
use Smile\ElasticsuiteCore\Search\Request\Query\QueryFactory;
- Exclude checks
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Filtered
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 $query
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 \Magento\Framework\Search\Request\QueryInterface $query Nested query.
- Exclude checks
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Nested
should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface
(method returning '\Smile\ElasticsuiteCore\Search\Request\Query\Nested'
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\Not
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
(method returning '\Smile\ElasticsuiteCore\Search\Request\Query\Term'
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
Argument 2 (storeId)
is int
but \Smile\ElasticsuiteCore\Helper\Cache::cleanIndexCache()
takes string
defined at /code/src/module-elasticsuite-core/Helper/Cache.php:114
Open
Open
$this->cacheHelper->cleanIndexCache(ThesaurusIndex::INDEX_IDENTIER, $storeId);
- Exclude checks
Class \Smile\ElasticsuiteThesaurus\Model\ResourceModel\Thesaurus\Collection
was passed to foreach, but it does not extend Traversable. This may be intentional, because some of that class's declared properties are accessible from this context. (This check excludes dynamic properties) Open
Open
foreach ($this as $item) {
- Exclude checks
syntax error, unexpected '\' (T_NS_SEPARATOR), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private \Magento\Backend\Model\Auth\Session $authSession;
- Exclude checks
Possibly zero references to use statement for classlike/namespace DateTime
(\DateTime)
Open
Open
use DateTime;
- Exclude checks
Argument 5 (query)
is null
but \Smile\ElasticsuiteCore\Search\Request\Builder::create()
takes \Smile\ElasticsuiteCore\Search\Request\QueryInterface|string
defined at /code/src/module-elasticsuite-core/Search/Request/Builder.php:136
Open
Open
return $this->searchRequestBuilder->create($storeId, EventIndexInterface::INDEX_IDENTIFIER, 0, 0, null, [], [], $queryFilters);
- Exclude checks
Suspicious array access to \Magento\Catalog\Model\Category
Open
Open
return $this->instances[$rootCategoryId][$cacheKey];
- 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
(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
syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private string $field;
- Exclude checks
Assigning \Magento\Store\Model\StoreManagerInterface
to property but \Smile\ElasticsuiteTracker\Helper\Data->storeManager
is \Magento\Framework\App\Config\ScopeConfigInterface
Open
Open
$this->storeManager = $storeManager;
- Exclude checks
Possibly zero references to use statement for classlike/namespace Value
(\Smile\ElasticsuiteCore\Search\Adapter\Elasticsuite\Response\Aggregation\Value)
Open
Open
use Smile\ElasticsuiteCore\Search\Adapter\Elasticsuite\Response\Aggregation\Value;
- Exclude checks
Doc-block of $categoryConfig
in __construct
is phpdoc param type \Magento\Catalog\Model\Config
which is not a permitted replacement of the nullable param type ?\Magento\Catalog\Model\Config
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param Config $categoryConfig Category config.
- Exclude checks