Showing 1,375 of 1,375 total issues
Argument 1 (args)
is ?array
but \Smile\ElasticsuiteCatalogGraphQl\Model\Resolver\Products\ContextUpdater::updateSearchContext()
takes array
defined at /code/src/module-elasticsuite-catalog-graph-ql/Model/Resolver/Products/ContextUpdater.php:77
Open
Open
$this->contextUpdater->updateSearchContext($args);
- Exclude checks
Doc-block of $resource
in __construct
is phpdoc param type \Magento\Framework\Model\ResourceModel\AbstractResource
which is not a permitted replacement of the nullable param type ?\Magento\Framework\Model\ResourceModel\AbstractResource
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource Resource.
- Exclude checks
Call with 1 arg(s) to \Smile\ElasticsuiteCatalogOptimizer\Api\Data\OptimizerInterface::getConfig()
which only takes 0 arg(s) defined at /code/src/module-elasticsuite-catalog-optimizer/Api/Data/OptimizerInterface.php:127
Open
Open
'modifier' => $optimizer->getConfig('scale_function'),
- Exclude checks
Possibly zero references to use statement for classlike/namespace Optimizer
(\Smile\ElasticsuiteCatalogOptimizer\Model\Optimizer)
Open
Open
use Smile\ElasticsuiteCatalogOptimizer\Model\Optimizer;
- Exclude checks
Possibly zero references to use statement for classlike/namespace CollectionFactory
(\Smile\ElasticsuiteCatalogOptimizer\Model\ResourceModel\Optimizer\CollectionFactory)
Open
Open
use Smile\ElasticsuiteCatalogOptimizer\Model\ResourceModel\Optimizer\CollectionFactory;
- Exclude checks
Returning type null
but getOptimizer()
is declared to return \Smile\ElasticsuiteCatalogOptimizer\Api\Data\OptimizerInterface
Open
Open
return $this->optimizer;
- Exclude checks
Possibly zero references to use statement for classlike/namespace AbstractBlock
(\Magento\Framework\View\Element\AbstractBlock)
Open
Open
use Magento\Framework\View\Element\AbstractBlock;
- Exclude checks
Returning type bool
but saveAttributesData()
is declared to return array
Open
Open
return $result;
- Exclude checks
Assigning \Magento\Framework\Indexer\IndexerInterfaceFactory
to property but \Smile\ElasticsuiteCatalog\Setup\InstallData->indexerFactory
is \Smile\ElasticsuiteCatalog\Setup\IndexerInterfaceFactory
Open
Open
$this->indexerFactory = $indexerFactory;
- Exclude checks
Argument 1 (element)
is \Magento\Config\Model\Config\Structure\Element\Group|\Smile\ElasticsuiteCore\Model\Search\Request\RelevanceConfig\Structure\Element\Group
but \Smile\ElasticsuiteCore\Model\Search\Request\RelevanceConfig\Structure\Element\Visibility::isVisible()
takes \Magento\Config\Model\Config\Structure\AbstractElement
defined at /code/src/module-elasticsuite-core/Model/Search/Request/RelevanceConfig/Structure/Element/Visibility.php:59
Open
Open
return $this->visibility->isVisible($this, $this->_scope);
- Exclude checks
Assigning ?\Magento\Framework\Search\Request\QueryInterface
to property but \Smile\ElasticsuiteCore\Search\Request->filter
is \Magento\Framework\Search\Request\QueryInterface
Open
Open
$this->filter = $filter;
- 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
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Exists
should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface
(method returning '\Smile\ElasticsuiteCore\Search\Request\Query\Exists'
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
syntax error, unexpected 'protected' (T_PROTECTED), expecting variable (T_VARIABLE)
Open
Open
protected string $name,
- 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
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
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
Returning type array|array{}
but parseAggregationFilters()
is declared to return null|string
Open
Open
return $filters;
- 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
Possibly zero references to use statement for classlike/namespace Registry
(\Magento\Framework\Registry)
Open
Open
use Magento\Framework\Registry;
- Exclude checks