Showing 1,357 of 1,357 total issues
Doc-block of $filter
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 QueryInterface $filter Search filter.
- 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
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 $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
Assigning ?\Magento\Framework\Search\Request\QueryInterface
to property but \Smile\ElasticsuiteCore\Search\Request\Query\Filtered->query
is \Smile\ElasticsuiteCore\Search\Request\QueryInterface
Open
Open
$this->query = $query;
- Exclude checks
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Missing
should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface
(method returning '\Smile\ElasticsuiteCore\Search\Request\Query\Missing'
cannot override method returning '\Smile\ElasticsuiteCore\Search\Request\QueryInterface')
defined in /code/src/module-elasticsuite-core/Search/Request/QueryInterface.php:49
Open
Open
public function setName($name): self
- 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
(parameter #1 with no type cannot replace original parameter with type 'string')
defined in /code/src/module-elasticsuite-core/Search/Request/QueryInterface.php:49
Open
Open
public function setName($name): self
- Exclude checks
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Range
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:49
Open
Open
public function setName($name): self
- Exclude checks
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Range
should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface
(method returning '\Smile\ElasticsuiteCore\Search\Request\Query\Range'
cannot override method returning '\Smile\ElasticsuiteCore\Search\Request\QueryInterface')
defined in /code/src/module-elasticsuite-core/Search/Request/QueryInterface.php:49
Open
Open
public function setName($name): self
- Exclude checks
Returning type string
but getValues()
is declared to return array
Open
Open
return $this->getValue();
- 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
Suspicious array access to ?mixed
Open
Open
$labelsByThesaurusId[$currentTerm['thesaurus_id']][] = $label;
- Exclude checks
Doc-block of $sessionIndex
in __construct
contains phpdoc param type \Smile\ElasticsuiteTracker\Api\EventIndexInterface
which is incompatible with the param type \Smile\ElasticsuiteTracker\Api\SessionIndexInterface
declared in the signature Open
Open
* @param \Smile\ElasticsuiteTracker\Api\EventIndexInterface $sessionIndex Session index.
- Exclude checks
Possibly zero references to use statement for classlike/namespace SessionIndex
(\Smile\ElasticsuiteTracker\Model\ResourceModel\SessionIndex)
Open
Open
use Smile\ElasticsuiteTracker\Model\ResourceModel\SessionIndex;
- Exclude checks
Call to method getFacetSortOrder
on non-class type null
Open
Open
$attribute->getFacetSortOrder() == ElasticBucketInterface::SORT_ORDER_MANUAL) {
- Exclude checks
Call to method getFrontend
on non-class type null
Open
Open
$options = $attribute->getFrontend()->getSelectOptions();
- Exclude checks
Possibly zero references to use statement for classlike/namespace StoreInterface
(\Magento\Store\Api\Data\StoreInterface)
Open
Open
use Magento\Store\Api\Data\StoreInterface;
- Exclude checks
Returning type null
but getOptimizer()
is declared to return \Smile\ElasticsuiteCatalogOptimizer\Api\Data\OptimizerInterface
Open
Open
return $this->optimizer;
- Exclude checks
Returning type float
but getMinValue()
is declared to return int
Open
Open
return $minValue;
- Exclude checks
Class \Smile\ElasticsuiteCatalog\Model\ResourceModel\Category\Fulltext\Collection
was passed to foreach, but it does not extend Traversable and none of its declared properties are accessible from this context. (This check excludes dynamic properties) Open
Open
foreach ($categoryCollection as $category) {
- Exclude checks