Showing 1,375 of 1,375 total issues
Argument 1 (appliedRootCategory)
is \Magento\Catalog\Model\Category|null
but \Smile\ElasticsuiteVirtualCategory\Model\VirtualCategory\Root::getVirtualCategorySubtreePath()
takes \Magento\Catalog\Api\Data\CategoryInterface
defined at /code/src/module-elasticsuite-virtual-category/Model/VirtualCategory/Root.php:110
Open
Open
$this->virtualCategoryRoot->getAppliedRootCategory(),
- Exclude checks
syntax error, unexpected ')'
Open
Open
);
- Exclude checks
Assigning ?\Magento\Framework\Search\Request\QueryInterface
to property but \Smile\ElasticsuiteCore\Search\Request\Query\Not->query
is \Smile\ElasticsuiteCore\Search\Request\QueryInterface
Open
Open
$this->query = $query;
- Exclude checks
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Span\SpanFirst
should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface
(method returning '\Smile\ElasticsuiteCore\Search\Request\Query\Span\SpanFirst'
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
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
Suspicious array access to ?mixed
Open
Open
$terms = array_merge($terms, explode(',', $termData['values']));
- Exclude checks
syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private array $checkers;
- Exclude checks
Assigning array<string></string>
to property but \Smile\ElasticsuiteTracker\Model\IndexResolver->indices
is \Smile\ElasticsuiteCore\Api\Index\IndexInterface[]|array<string></string>
Open
Open
$this->indices[$indexName] = null;
- Exclude checks
Possibly zero references to use statement for classlike/namespace ClientConfigurationInterface
(\Smile\ElasticsuiteCore\Api\Client\ClientConfigurationInterface)
Open
Open
use Smile\ElasticsuiteCore\Api\Client\ClientConfigurationInterface;
- Exclude checks
Suspicious array access to \Magento\Framework\DataObject
Open
Open
foreach ($indicesMapping[$item['indexer_id']] as $index) {
- Exclude checks
Possibly zero references to use statement for classlike/namespace CategoryInterface
(\Magento\Catalog\Api\Data\CategoryInterface)
Open
Open
use Magento\Catalog\Api\Data\CategoryInterface;
- Exclude checks
Argument 2 (childCategory)
is \Smile\ElasticsuiteVirtualCategory\Model\Category
but \Smile\ElasticsuiteVirtualCategory\Model\VirtualCategory\Root::getVirtualCategorySubtreePath()
takes \Magento\Catalog\Api\Data\CategoryInterface
defined at /code/src/module-elasticsuite-virtual-category/Model/VirtualCategory/Root.php:110
Open
Open
$category
- Exclude checks
Declaration of function getList() : \Smile\ElasticsuiteCatalogOptimizer\Api\Data\OptimizerSearchResultsInterface
should be compatible with function getList() : \Smile\ElasticsuiteCatalogOptimizer\Api\Data\OptimizerInterface
defined in /code/src/module-elasticsuite-catalog-optimizer/Api/OptimizerRepositoryInterface.php:41
Open
Open
public function getList()
- Exclude checks
Argument 1 (categoryId)
is string
but \Smile\ElasticsuiteCatalog\Model\Autocomplete\Category\ItemFactory::getCategoryNameById()
takes int
defined at /code/src/module-elasticsuite-catalog/Model/Autocomplete/Category/ItemFactory.php:172
Open
Open
$breadcrumb[] = html_entity_decode($this->getCategoryNameById($categoryId, $category->getStoreId()));
- Exclude checks
Doc-block of $value
in getFilterValue
contains phpdoc param type mixed
which is incompatible with the param type array
declared in the signature Open
Open
* @param mixed $value Filter value.
- Exclude checks
Returning type \Magento\Catalog\Api\Data\CategoryAttributeInterface|null
but getCategoryNameAttribute()
is declared to return \Magento\Eav\Model\Entity\Attribute\AbstractAttribute
Open
Open
return $this->categoryNameAttribute;
- Exclude checks
Doc-block of $stringToBoolInputs
in stringToBoolConverting
is phpdoc param type array
which is not a permitted replacement of the nullable param type ?array
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param array $stringToBoolInputs The inputs
- Exclude checks
Possibly zero references to use statement for classlike/namespace StoreManagerInterface
(\Magento\Store\Model\StoreManagerInterface)
Open
Open
use Magento\Store\Model\StoreManagerInterface;
- Exclude checks
Argument 1 (attribute)
is \Magento\Catalog\Model\ResourceModel\Product\Attribute
but \Smile\ElasticsuiteCatalog\Search\Request\Product\Aggregation\Provider\FilterableAttributes\Modifier\Statistics\AttributeFilterInterface::filterAttribute()
takes \Magento\Catalog\Model\ResourceModel\Eav\Attribute
defined at /code/src/module-elasticsuite-catalog/Search/Request/Product/Aggregation/Provider/FilterableAttributes/Modifier/Statistics/AttributeFilterInterface.php:34
Open
Open
if ($this->attributeFilter->filterAttribute($attribute)) {
- Exclude checks
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\MatchPhrasePrefix
should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface
(method returning '\Smile\ElasticsuiteCore\Search\Request\Query\MatchPhrasePrefix'
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