Showing 1,300 of 1,300 total issues
Argument 1 (condition)
is \Magento\Framework\Api\ExtensibleDataInterface|\Smile\ElasticsuiteCatalogRule\Api\Data\ConditionInterface
but \Smile\ElasticsuiteVirtualCategory\Model\Rule::dataModelToArray()
takes \Smile\ElasticsuiteCatalogRule\Model\Data\Condition
defined at /code/src/module-elasticsuite-catalog-rule/Model/Rule.php:181
Open
Open
$this->getConditions()->setConditions([])->loadArray($this->dataModelToArray($condition));
- Exclude checks
Argument 1 (product)
is \Magento\Catalog\Model\Product
but \Smile\ElasticsuiteVirtualCategory\Model\Url::getProductRequestPath()
takes \Smile\ElasticsuiteVirtualCategory\Model\Product
defined at /code/src/module-elasticsuite-virtual-category/Model/Url.php:170
Open
Open
$requestPath = $this->urlModel->getProductRequestPath($product, $category);
- Exclude checks
Argument 2 (productIds)
is ?array|?array{}
but \Smile\ElasticsuiteCatalog\Model\Product\Indexer\Fulltext\Action\Full::getSearchableProducts()
takes string
defined at /code/src/module-elasticsuite-catalog/Model/Product/Indexer/Fulltext/Action/Full.php:83
Open
Open
$products = $this->getSearchableProducts($storeId, $productIds, $productId);
- Exclude checks
Returning type \Magento\Catalog\Api\Data\CategoryAttributeInterface|null
but getCategoryNameAttribute()
is declared to return \Magento\Eav\Model\Entity\Attribute\AbstractAttribute
Open
Open
return $this->categoryNameAttribute;
- Exclude checks
Argument 1 (attribute)
is \Magento\Catalog\Api\Data\ProductAttributeInterface
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
$field = $this->mappingHelper->getFilterField($attribute);
- Exclude checks
Possibly zero references to use statement for classlike/namespace ObjectManager
(\Magento\Framework\App\ObjectManager)
Open
Open
use Magento\Framework\App\ObjectManager;
- Exclude checks
syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private string $field;
- Exclude checks
Argument 1 (time)
is \DateTime|\DateTimeInterface|false
but \DateTime::__construct()
takes ?string
Open
Open
$day = new DateTime($indexDate);
- 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
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 IndexerCollection
(\Magento\Indexer\Model\Indexer\Collection)
Open
Open
use Magento\Indexer\Model\Indexer\Collection as IndexerCollection;
- Exclude checks
Possibly zero references to use statement for classlike/namespace Front
(\Magento\Catalog\Block\Adminhtml\Product\Attribute\Edit\Tab\Front)
Open
Open
use Magento\Catalog\Block\Adminhtml\Product\Attribute\Edit\Tab\Front;
- Exclude checks
Suspicious array access to ?mixed
Open
Open
$terms = array_merge($terms, explode(',', $termData['values']));
- Exclude checks
Assigning array<string></string>
to property but \Smile\ElasticsuiteTracker\Model\IndexResolver->indices
is \Smile\ElasticsuiteCore\Api\Index\IndexInterface[]|array<string></string>
Open
Open
$this->indices[$indexName] = null;
- Exclude checks
Returning type \Magento\Catalog\Api\Data\CategoryAttributeInterface|null
but getUseStorePositionsAttribute()
is declared to return \Magento\Eav\Model\Entity\Attribute\AbstractAttribute
Open
Open
return $this->useStorePositionsAttribute;
- Exclude checks
Suspicious array access to \Magento\Framework\DataObject
Open
Open
foreach ($indicesMapping[$item['indexer_id']] as $index) {
- Exclude checks
Doc-block of $resourceCollection
in __construct
is phpdoc param type \Magento\Framework\Data\Collection\AbstractDb
which is not a permitted replacement of the nullable param type ?\Magento\Framework\Data\Collection\AbstractDb
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param \Magento\Framework\Data\Collection\AbstractDb $resourceCollection Magento Collection
- Exclude checks
Possibly zero references to use statement for classlike/namespace InputException
(\Magento\Framework\Exception\InputException)
Open
Open
use Magento\Framework\Exception\InputException;
- Exclude checks
syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private array $checkers;
- Exclude checks
Possibly zero references to use statement for classlike/namespace QueryFactory
(\Smile\ElasticsuiteCore\Search\Request\Query\QueryFactory)
Open
Open
use Smile\ElasticsuiteCore\Search\Request\Query\QueryFactory;
- Exclude checks