Showing 1,375 of 1,375 total issues
Assigning ?\Magento\Framework\Search\Request\QueryInterface
to property but \Smile\ElasticsuiteCore\Search\Request\Query\Nested->query
is \Smile\ElasticsuiteCore\Search\Request\QueryInterface
Open
Open
$this->query = $query;
- Exclude checks
syntax error, unexpected 'int' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private int $slop;
- Exclude checks
Argument 2 (type)
is null
but \Smile\ElasticsuiteThesaurus\Model\Import\Provider::processTermsData()
takes string
defined at /code/src/module-elasticsuite-thesaurus/Model/Import/Provider.php:123
Open
Open
$row[$columnKey] = $this->importProvider->processTermsData($row[$columnKey], $type);
- 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 Database Connection
- 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
Doc-block of getId
has declared return type int
which is not a permitted replacement of the nullable return type ?int
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @return int
- Exclude checks
Doc-block of $category
in getVirtualRule
contains phpdoc param type \Smile\ElasticsuiteVirtualCategory\Block\Adminhtml\Catalog\Category\CategoryInterface
which is incompatible with the param type \Magento\Catalog\Api\Data\CategoryInterface
declared in the signature Open
Open
* @param CategoryInterface $category Category
- Exclude checks
Argument 1 (category)
is \Magento\Framework\Model\AbstractModel
but \Smile\ElasticsuiteVirtualCategory\Plugin\Catalog\Category\SaveProductsPositions::getAffectedProductIds()
takes \Magento\Catalog\Model\Category
defined at /code/src/module-elasticsuite-virtual-category/Plugin/Catalog/Category/SaveProductsPositions.php:109
Open
Open
$affectedProductIds = $this->getAffectedProductIds($category);
- Exclude checks
Assigning array<string>|array{product:array{label:mixed}}|array{}</string>
to property but \Smile\ElasticsuiteVirtualCategory\Plugin\Catalog\Helper\BreadcrumbPlugin->categoryPath
is null
Open
Open
$this->categoryPath = $path;
- Exclude checks
Argument 1 (category)
is ?\Magento\Catalog\Api\Data\CategoryInterface
but \Smile\ElasticsuiteVirtualCategory\Helper\Rule::loadUsingCache()
takes \Magento\Catalog\Api\Data\CategoryInterface
defined at /code/src/module-elasticsuite-virtual-category/Helper/Rule.php:79
Open
Open
return $this->helper->loadUsingCache($category, 'getSearchQueriesByChildren');
- Exclude checks
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\MultiMatch
should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface
(method returning '\Smile\ElasticsuiteCore\Search\Request\Query\MultiMatch'
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
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:50
Open
Open
public function setName($name): self
- 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
(parameter #1 with no type cannot replace original parameter with type 'string')
defined in /code/src/module-elasticsuite-core/Search/Request/QueryInterface.php:50
Open
Open
public function setName($name): self
- Exclude checks
Assigning string
to property but \Smile\ElasticsuiteCore\Search\Request\Query\Span\SpanOr->boost
is int
Open
Open
$this->boost = $boost;
- Exclude checks
Possibly zero references to use statement for classlike/namespace IndexerCollection
(\Magento\Indexer\Model\Indexer\Collection)
Open
Open
use Magento\Indexer\Model\Indexer\Collection as IndexerCollection;
- Exclude checks
Returning type \Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfigurationInterface
but getConfig()
is declared to return \Smile\ElasticsuiteThesaurus\Config\ThesaurusConfig
Open
Open
return $this->thesaurusConfigFactory->create($storeId, $containerName);
- Exclude checks
Possibly zero references to use statement for classlike/namespace Category
(\Magento\Catalog\Model\Category)
Open
Open
use Magento\Catalog\Model\Category;
- Exclude checks
Argument 1 (category)
is \Magento\Framework\Model\AbstractModel
but \Smile\ElasticsuiteVirtualCategory\Model\ResourceModel\Category\Product\Position::saveProductPositions()
takes \Magento\Catalog\Api\Data\CategoryInterface
defined at /code/src/module-elasticsuite-virtual-category/Model/ResourceModel/Category/Product/Position.php:118
Open
Open
$this->saveHandler->saveProductPositions($category);
- Exclude checks
Possibly zero references to use statement for classlike/namespace Category
(\Magento\Catalog\Model\Category)
Open
Open
use Magento\Catalog\Model\Category;
- Exclude checks
Returning type string
but getValues()
is declared to return array
Open
Open
return $this->getValue();
- Exclude checks