Showing 1,375 of 1,375 total issues
Argument 1 (indexName)
is array{index:string}
but \Smile\ElasticsuiteCore\Api\Client\ClientInterface::indexStats()
takes string
defined at /code/src/module-elasticsuite-core/Api/Client/ClientInterface.php:192
Open
Open
$this->indexStatsCache[$indexName] = $this->client->indexStats(['index' => $indexName]);
- Exclude checks
Possibly zero references to use statement for classlike/namespace PriceCurrency
(\Magento\Directory\Model\PriceCurrency)
Open
Open
use Magento\Directory\Model\PriceCurrency;
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
$this->viewMoreContext->setFilterName($args['filterName']);
- 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
'weight' => 1 + ((float) $optimizer->getConfig('constant_score_value') / 100),
- Exclude checks
Possibly zero references to use statement for classlike/namespace ResultInterface
(\Magento\Framework\Controller\ResultInterface)
Open
Open
use Magento\Framework\Controller\ResultInterface;
- Exclude checks
Possibly zero references to use statement for classlike/namespace AbstractDb
(\Magento\Framework\Model\ResourceModel\Db\AbstractDb)
Open
Open
use Magento\Framework\Model\ResourceModel\Db\AbstractDb;
- Exclude checks
Argument 1 (attribute)
is \Magento\Catalog\Model\ResourceModel\Eav\Attribute
but \Smile\ElasticsuiteCatalog\Helper\ProductAttribute::getFilterField()
takes \Magento\Eav\Model\Entity\Attribute\AttributeInterface
defined at /code/src/module-elasticsuite-catalog/Helper/AbstractAttribute.php:338
Open
Open
return $this->mappingHelper->getFilterField($attribute);
- Exclude checks
Argument 1 (searchCriteria)
is \Magento\Framework\Api\Search\SearchCriteriaInterface
but \Smile\ElasticsuiteCore\Model\Search\RequestBuilder::getRequest()
takes \Smile\ElasticsuiteCore\Api\Search\SearchCriteriaInterface
defined at /code/src/module-elasticsuite-core/Model/Search/RequestBuilder.php:96
Open
Open
$searchRequest = $this->searchRequestBuilder->getRequest($searchCriteria);
- Exclude checks
Doc-block of $query
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 \Magento\Framework\Search\Request\QueryInterface $query Query part of the filtered query.
- Exclude checks
Possibly zero references to use statement for classlike/namespace Phrase
(\Magento\Framework\Phrase)
Open
Open
use Magento\Framework\Phrase;
- Exclude checks
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 \Magento\Framework\Search\Request\QueryInterface $filter Filter part of the filtered query.
- 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
$scaleFactor = (float) $optimizer->getConfig('scale_factor');
- Exclude checks
Returning type \Magento\Framework\Pricing\Render
but getPriceRenderer()
is declared to return \Magento\Framework\View\Element\BlockInterface|bool
Open
Open
return $this->priceRenderer;
- Exclude checks
Suspicious array access to \Magento\CatalogSearch\Model\Indexer\Fulltext\Action\Full
Open
Open
$fullActionClass = $this->fullActionPool['default'];
- Exclude checks
Possibly zero references to use statement for classlike/namespace StockConfigurationInterface
(\Magento\CatalogInventory\Api\StockConfigurationInterface)
Open
Open
use Magento\CatalogInventory\Api\StockConfigurationInterface;
- Exclude checks
Saw a token Phan may have failed to parse after '* @return array()':
after array,
saw '('
Open
Open
* @return array()
- Exclude checks
Possibly zero references to use statement for classlike/namespace DynamicFieldProviderInterface
(\Smile\ElasticsuiteCore\Api\Index\Mapping\DynamicFieldProviderInterface)
Open
Open
use Smile\ElasticsuiteCore\Api\Index\Mapping\DynamicFieldProviderInterface;
- Exclude checks
Assigning \Magento\Framework\App\Config\Scope\Converter
to property but \Smile\ElasticsuiteCore\Model\Search\Request\RelevanceConfig\Reader\ContainerStore->converter
is \Magento\Store\Model\Config\Converter
Open
Open
$this->converter = $converter;
- Exclude checks
Returning type string
but getFixedInterval()
is declared to return int
Open
Open
return $this->fixedInterval;
- Exclude checks
Saw unextractable annotation for comment '* @param @param string $scopeCode The scope code'
Open
Open
* @param @param string $scopeCode The scope code
- Exclude checks