Showing 1,375 of 1,375 total issues
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Regexp
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\SpanContaining
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
Suspicious array access to null
Open
Open
$this->indicesStats[$indexName] = current($indexStatsResponse['indices']);
- Exclude checks
Assigning array<string>|array<string></string></string>
to property but \Smile\ElasticsuiteIndices\Model\IndexStatsProvider->indicesStats
is null
Open
Open
$this->indicesStats[$indexName] = current($indexStatsResponse['indices']);
- Exclude checks
Assigning array{}
to property but \Smile\ElasticsuiteIndices\Model\IndexStatsProvider->indicesStats
is null
Open
Open
$this->indicesStats = [];
- Exclude checks
Class \Smile\ElasticsuiteIndices\Model\ResourceModel\Index\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
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, SessionIndexInterface::INDEX_IDENTIFIER, 0, 0, null, [], [], $queryFilters);
- 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
null,
- Exclude checks
Returning type \Magento\Catalog\Api\Data\CategoryAttributeInterface|null
but getUseStorePositionsAttribute()
is declared to return \Magento\Eav\Model\Entity\Attribute\AbstractAttribute
Open
Open
return $this->useStorePositionsAttribute;
- Exclude checks
Returning type false|string
but getProductSavedPositions()
is declared to return array
Open
Open
return json_encode($productPositions, JSON_FORCE_OBJECT);
- Exclude checks
Returning type null
but getSubtreeBreadcrumbPath()
is declared to return array
Open
Open
return $this->categoryPath;
- 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
(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\SpanFieldMasking
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\SpanWithin
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
Assigning false[]|int[]|null[]|string[]
to property but \Smile\ElasticsuiteIndices\Model\IndexStatsProvider->elasticsuiteIndices
is null
Open
Open
$this->elasticsuiteIndices[$name] = $aliases ? key($aliases['aliases']) : null;
- Exclude checks
Possibly zero references to use statement for classlike/namespace Form
(\Magento\Framework\Data\Form)
Open
Open
use Magento\Framework\Data\Form;
- Exclude checks
Possibly zero references to use statement for classlike/namespace Factory
(\Smile\ElasticsuiteCore\Search\Request\ContainerConfiguration\RelevanceConfig\Factory)
Open
Open
use Smile\ElasticsuiteCore\Search\Request\ContainerConfiguration\RelevanceConfig\Factory;
- Exclude checks
Possibly zero references to use statement for classlike/namespace Navigation
(\Smile\ElasticsuiteCatalog\Block\Navigation)
Open
Open
use Smile\ElasticsuiteCatalog\Block\Navigation;
- 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
Doc-block of $request
in __construct
is phpdoc param type \Magento\Framework\App\RequestInterface
which is not a permitted replacement of the nullable param type ?\Magento\Framework\App\RequestInterface
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param RequestInterface $request HTTP Request.
- Exclude checks