Smile-SA/elasticsuite

View on GitHub

Showing 1,375 of 1,375 total issues

Doc-block of setIsBlacklistingApplied contains declared return type bool which is incompatible with the return type \Smile\ElasticsuiteCore\Api\Search\ContextInterface declared in the signature
Open

     * @return bool

Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Nested 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

    public function setName($name): self

Argument 1 (request) is \Magento\Framework\Search\RequestInterface but \Smile\ElasticsuiteCore\Search\Adapter\Elasticsuite\Request\Mapper::buildSearchRequest() takes \Smile\ElasticsuiteCore\Search\RequestInterface defined at /code/src/module-elasticsuite-core/Search/Adapter/Elasticsuite/Request/Mapper.php:79
Open

            'body'  => $this->requestMapper->buildSearchRequest($request),

Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Span\SpanWithin should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface (method returning '\Smile\ElasticsuiteCore\Search\Request\Query\Span\SpanWithin' cannot override method returning '\Smile\ElasticsuiteCore\Search\Request\QueryInterface') defined in /code/src/module-elasticsuite-core/Search/Request/QueryInterface.php:50
Open

    public function setName($name): self

Doc-block of getFormat contains declared return type null which is incompatible with the return type string declared in the signature
Open

     * @return string|null

Possibly zero references to use statement for classlike/namespace Front (\Magento\Catalog\Block\Adminhtml\Product\Attribute\Edit\Tab\Front)
Open

use Magento\Catalog\Block\Adminhtml\Product\Attribute\Edit\Tab\Front;

Doc-block of $entityFactory in __construct contains phpdoc param type \Magento\Framework\Data\Collection\EntityFactory which is incompatible with the param type \Magento\Framework\Data\Collection\EntityFactoryInterface declared in the signature
Open

     * @param \Magento\Framework\Data\Collection\EntityFactory             $entityFactory  Entity Factory

Saw unextractable annotation for comment '* @return @boolean'
Open

     * @return @boolean

Assigning array<string></string> to property but \Smile\ElasticsuiteTracker\Model\IndexResolver->indices is \Smile\ElasticsuiteCore\Api\Index\IndexInterface[]|array<string></string>
Open

                    $this->indices[$indexName] = null;

Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Missing 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

    public function setName($name): self

Assigning \Smile\ElasticsuiteVirtualCategory\Model\ResourceModel\VirtualCategory\CollectionFactory to property but \Smile\ElasticsuiteVirtualCategory\Model\Url->categoryCollectionFactory is \Magento\Catalog\Model\ResourceModel\Category\CollectionFactory
Open

        $this->categoryCollectionFactory = $categoryCollectionFactory;

Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\MoreLikeThis should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface (method returning '\Smile\ElasticsuiteCore\Search\Request\Query\MoreLikeThis' cannot override method returning '\Smile\ElasticsuiteCore\Search\Request\QueryInterface') defined in /code/src/module-elasticsuite-core/Search/Request/QueryInterface.php:50
Open

    public function setName($name): self

Argument 1 (category) is \Magento\Catalog\Model\Category but \Smile\ElasticsuiteVirtualCategory\Model\ResourceModel\Category\Product\Position::getProductPositionsByCategory() takes \Magento\Catalog\Api\Data\CategoryInterface|int defined at /code/src/module-elasticsuite-virtual-category/Model/ResourceModel/Category/Product/Position.php:78
Open

            $productPositions = $this->productPositionResource->getProductPositionsByCategory($category);

Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\MultiMatch 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

    public function setName($name): self

Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Range should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface (method returning '\Smile\ElasticsuiteCore\Search\Request\Query\Range' cannot override method returning '\Smile\ElasticsuiteCore\Search\Request\QueryInterface') defined in /code/src/module-elasticsuite-core/Search/Request/QueryInterface.php:50
Open

    public function setName($name): self

Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Regexp should be compatible with function setName(string $name) : \Smile\ElasticsuiteCore\Search\Request\QueryInterface (method returning '\Smile\ElasticsuiteCore\Search\Request\Query\Regexp' cannot override method returning '\Smile\ElasticsuiteCore\Search\Request\QueryInterface') defined in /code/src/module-elasticsuite-core/Search/Request/QueryInterface.php:50
Open

    public function setName($name): self

Default value for string $boost can't be int
Open

    public function __construct(

Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Span\SpanOr 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

    public function setName($name): self

Declaration of function setName($name) : \Smile\ElasticsuiteCore\Search\Request\Query\Span\SpanTerm 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

    public function setName($name): self

Possibly zero references to use statement for classlike/namespace Redirect (\Magento\Backend\Model\View\Result\Redirect)
Open

use Magento\Backend\Model\View\Result\Redirect;
Severity
Category
Status
Source
Language