Showing 1,375 of 1,375 total issues
Returning type \Magento\Framework\DB\Select
but getVirtualSelectGlobal()
is declared to return \Zend_Db_Select
Open
Open
return $select;
- Exclude checks
Argument 1 (appliedRootCategory)
is \Magento\Catalog\Model\Category|null
but \Smile\ElasticsuiteVirtualCategory\Model\Url::getVirtualCategorySubtreeUrl()
takes \Magento\Catalog\Api\Data\CategoryInterface
defined at /code/src/module-elasticsuite-virtual-category/Model/Url.php:200
Open
Open
$this->virtualCategoryRoot->getAppliedRootCategory(),
- Exclude checks
Doc-block of getRequestPath
has declared return type string
which is not a permitted replacement of the nullable return type ?string
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @return string
- Exclude checks
Possibly zero references to use statement for classlike/namespace CollectionFactory
(\Smile\ElasticsuiteVirtualCategory\Model\ResourceModel\Product\CollectionFactory)
Open
Open
use Smile\ElasticsuiteVirtualCategory\Model\ResourceModel\Product\CollectionFactory;
- Exclude checks
Argument 1 (category)
is \Magento\Catalog\Model\Category
but \Smile\ElasticsuiteVirtualCategory\Model\Category\Filter\Provider::getQueryFilter()
takes \Magento\Catalog\Api\Data\CategoryInterface
defined at /code/src/module-elasticsuite-virtual-category/Model/Category/Filter/Provider.php:68
Open
Open
$query = $this->filterProvider->getQueryFilter($category);
- Exclude checks
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\FunctionScore
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
Default value for int
$includeOriginalDocs
can't be false
Open
Open
public function __construct(
- Exclude checks
Default value for int
$minimumShouldMatch
can't be string
Open
Open
public function __construct(
- 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 Negated query.
- Exclude checks
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Not
should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface
(method returning '\Smile\ElasticsuiteCore\Search\Request\Query\Not'
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\Span\SpanContaining
should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface
(method returning '\Smile\ElasticsuiteCore\Search\Request\Query\Span\SpanContaining'
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
Argument 1 (value)
is array|array<int>|array{0:mixed}</int>
but \Smile\ElasticsuiteCore\Search\Request\Query\Term::__construct()
takes string
defined at /code/src/module-elasticsuite-core/Search/Request/Query/Term.php:56
Open
Open
parent::__construct($values, $field, $name, $boost);
- Exclude checks
Returning type ?string
but resolve()
is declared to return string
Open
Open
return $resolverScopeCode;
- 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 The filter applied to the nested sort.
- Exclude checks
Suspicious array access to ?mixed
Open
Open
$labelsByThesaurusId[$currentTerm['thesaurus_id']][] = $label;
- Exclude checks
Argument 5 (query)
is null
but \Smile\ElasticsuiteCore\Search\Request\Builder::create()
takes \Smile\ElasticsuiteCore\Search\Request\QueryInterface|string
defined at /code/src/module-elasticsuite-core/Search/Request/Builder.php:136
Open
Open
return $this->searchRequestBuilder->create($storeId, self::SEARCH_REQUEST_CONTAINER, 0, 0, null, [], [], $queryFilters);
- Exclude checks
Call with 2 arg(s) to \Smile\ElasticsuiteCatalogRule\Model\Rule\Condition\Product\QueryBuilder::getSearchQuery()
which only takes 1 arg(s) defined at /code/src/module-elasticsuite-catalog-rule/Model/Rule/Condition/Product/QueryBuilder.php:78
Open
Open
return $this->queryBuilder->getSearchQuery($categoryCondition, $excludedCategories);
- Exclude checks
Argument 1 (controller)
is \Magento\CatalogRule\Controller\Adminhtml\Promo\Widget\Chooser
but \Smile\ElasticsuiteVirtualCategory\Plugin\Catalog\Category\ChooserPlugin::getIds()
takes \Magento\Backend\App\Action
defined at /code/src/module-elasticsuite-virtual-category/Plugin/Catalog/Category/ChooserPlugin.php:100
Open
Open
$this->getIds($controller)
- Exclude checks
Argument 1 (category)
is \Magento\Framework\Model\AbstractModel
but \Smile\ElasticsuiteVirtualCategory\Plugin\Catalog\Category\SaveProductsPositions::unserializeProductPositions()
takes \Magento\Catalog\Model\Category
defined at /code/src/module-elasticsuite-virtual-category/Plugin/Catalog/Category/SaveProductsPositions.php:158
Open
Open
$this->unserializeProductPositions($category);
- Exclude checks
Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Missing
should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface
(method returning '\Smile\ElasticsuiteCore\Search\Request\Query\Missing'
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