Showing 1,375 of 1,375 total issues
Argument 1 (attributeCollection)
is \Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection
but \Smile\ElasticsuiteCatalog\Model\ResourceModel\Eav\Indexer\Fulltext\Datasource\AbstractAttributeData::addIndexedFilterToAttributeCollection()
takes \Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection
defined at /code/src/module-elasticsuite-catalog/Model/ResourceModel/Eav/Indexer/Fulltext/Datasource/AbstractAttributeData.php:75
Open
Open
$this->resourceModel->addIndexedFilterToAttributeCollection($attributeCollection);
- Exclude checks
Doc-block of $connection
in __construct
is phpdoc param type \Magento\Framework\DB\Adapter\AdapterInterface
which is not a permitted replacement of the nullable param type ?\Magento\Framework\DB\Adapter\AdapterInterface
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param \Magento\Framework\DB\Adapter\AdapterInterface $connection Db Connection.
- Exclude checks
Returning type \Magento\Catalog\Api\Data\CategoryInterface
but afterGetCurrentCategory()
is declared to return \Magento\Catalog\Model\Layer\Category
Open
Open
return $category;
- Exclude checks
syntax error, unexpected 'bool' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private bool $hasKnnFields = false;
- Exclude checks
Doc-block of $cache
in __construct
is phpdoc param type \Magento\Framework\App\CacheInterface
which is not a permitted replacement of the nullable param type ?\Magento\Framework\App\CacheInterface
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param \Magento\Framework\App\CacheInterface $cache Cache interface
- Exclude checks
Assigning \Magento\Framework\Search\Response\Aggregation
to property but \Smile\ElasticsuiteCore\Search\Adapter\Elasticsuite\Response\QueryResponse->aggregations
is \Magento\Framework\Api\Search\AggregationInterface
Open
Open
$this->aggregations = $aggregationFactory->create($aggregations);
- 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 $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
Possibly zero references to use statement for classlike/namespace MetricInterface
(\Smile\ElasticsuiteCore\Search\Request\MetricInterface)
Open
Open
use Smile\ElasticsuiteCore\Search\Request\MetricInterface;
- Exclude checks
Call to method getFrontendInput
on non-class type null
Open
Open
$result[$attributeCode]['frontend_input'] = $attribute->getFrontendInput();
- Exclude checks
Argument 1 (args)
is ?array
but \Smile\ElasticsuiteCatalogGraphQl\Model\Resolver\Layer\Filter\ViewMore::validateArgs()
takes array
defined at /code/src/module-elasticsuite-catalog-graph-ql/Model/Resolver/Layer/Filter/ViewMore.php:105
Open
Open
$this->validateArgs($args);
- Exclude checks
Class \Smile\ElasticsuiteCatalogOptimizer\Model\ResourceModel\Optimizer\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 ($optimizers as $optimizer) {
- Exclude checks
Argument 1 (condition)
is \Magento\Framework\Api\ExtensibleDataInterface|\Smile\ElasticsuiteCatalogRule\Api\Data\ConditionInterface
but \Smile\ElasticsuiteCatalogRule\Model\Rule::dataModelToArray()
takes \Smile\ElasticsuiteCatalogRule\Model\Data\Condition
defined at /code/src/module-elasticsuite-catalog-rule/Model/Rule.php:181
Open
Open
$conditions[] = $this->dataModelToArray($subCondition, $key);
- Exclude checks
Doc-block of $scopeConfig
in __construct
contains phpdoc param type \Magento\Framework\ObjectManagerInterface
which is incompatible with the param type \Magento\Framework\App\Config\ScopeConfigInterface
declared in the signature Open
Open
* @param \Magento\Framework\ObjectManagerInterface $scopeConfig Configuration.
- Exclude checks
Saw a token Phan may have failed to parse after '* @return array()':
after array,
saw '('
Open
Open
* @return array()
- Exclude checks
Returning type \Magento\Catalog\Api\Data\CategoryAttributeInterface|null
but getUseNameInSearchAttribute()
is declared to return \Magento\Eav\Model\Entity\Attribute\AbstractAttribute
Open
Open
return $this->useNameInSearchAttribute;
- Exclude checks
Assigning null
to property but \Smile\ElasticsuiteCatalog\Model\ResourceModel\Product\Indexer\Fulltext\Datasource\PriceData->dimensions
is array
Open
Open
$this->dimensions = null;
- Exclude checks
Argument 4 (spellingType)
is 1
but \Smile\ElasticsuiteCore\Search\Request\Query\Builder::createQuery()
takes string
defined at /code/src/module-elasticsuite-core/Search/Request/Query/Builder.php:75
Open
Open
SpellcheckerInterface::SPELLING_TYPE_EXACT
- Exclude checks
Possibly zero references to use statement for classlike/namespace QueryBuilder
(\Smile\ElasticsuiteCore\Search\Request\Query\Builder)
Open
Open
use Smile\ElasticsuiteCore\Search\Request\Query\Builder as QueryBuilder;
- Exclude checks
Argument 3 (query)
is \Magento\Framework\Search\Request\QueryInterface|\Smile\ElasticsuiteCore\Search\Request\QueryInterface|string
but \Smile\ElasticsuiteCatalog\Search\Request\Product\Aggregation\Provider\FilterableAttributes\Modifier\Coverage::getCoverageRates()
takes null
defined at /code/src/module-elasticsuite-catalog/Search/Request/Product/Aggregation/Provider/FilterableAttributes/Modifier/Coverage.php:119
Open
Open
$coverageRates = $this->getCoverageRates($storeId, $requestName, $query, $filters, $queryFilters);
- Exclude checks