Showing 1,375 of 1,375 total issues
Possibly zero references to use statement for classlike/namespace SearchCriteriaApplier
(\Magento\Framework\Api\SearchCriteria\CollectionProcessorInterface)
Open
Open
use Magento\Framework\Api\SearchCriteria\CollectionProcessorInterface as SearchCriteriaApplier;
- 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 Resource collection.
- Exclude checks
TODO found Open
Open
// TODO: make sure destroying one instance of mouse doesn't mess with
- Exclude checks
XXX found Open
Open
* @param string $filter The raw filter value (XXX-XXX)
- Exclude checks
Possibly zero references to use statement for classlike/namespace StoreInterface
(\Magento\Store\Api\Data\StoreInterface)
Open
Open
use Magento\Store\Api\Data\StoreInterface;
- Exclude checks
Argument 1 (args)
is ?array
but \Smile\ElasticsuiteCatalogGraphQl\Model\Resolver\Products::validateArgs()
takes array
defined at /code/src/module-elasticsuite-catalog-graph-ql/Model/Resolver/Products.php:95
Open
Open
$this->validateArgs($args);
- Exclude checks
TODO found Open
Open
* @TODO Refactor/Mutualize all copy/pasted methods.
- 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 ObjectManager
(\Magento\Framework\App\ObjectManager)
Open
Open
use Magento\Framework\App\ObjectManager;
- Exclude checks
Possibly zero references to use statement for classlike/namespace CollectionFactory
(\Smile\ElasticsuiteCatalogOptimizer\Model\ResourceModel\Optimizer\CollectionFactory)
Open
Open
use Smile\ElasticsuiteCatalogOptimizer\Model\ResourceModel\Optimizer\CollectionFactory;
- Exclude checks
TODO found Open
Open
* @TODO: manage cache in this file for getSearchQueriesByChildren,
- 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, $this->containerName, 0, 0, null, [], [], $searchQuery, $aggregations);
- Exclude checks
Call to method getIsDisplayRelNofollow
on non-class type null
Open
Open
$result[$attributeCode]['rel_nofollow'] = (bool) $attribute->getIsDisplayRelNofollow();
- Exclude checks
Possibly zero references to use statement for classlike/namespace Optimizer
(\Smile\ElasticsuiteCatalogOptimizer\Model\Optimizer)
Open
Open
use Smile\ElasticsuiteCatalogOptimizer\Model\Optimizer;
- Exclude checks
Returning type null
but getOptimizer()
is declared to return \Smile\ElasticsuiteCatalogOptimizer\Api\Data\OptimizerInterface
Open
Open
return null;
- Exclude checks
Assigning \Smile\ElasticsuiteCore\Search\Request\Query\Builder
to property but \Smile\ElasticsuiteCatalogOptimizer\Model\Optimizer\Preview\CategoryQuery->queryBuilder
is \Smile\ElasticsuiteCore\Search\Request\Query\Filter\QueryBuilder
Open
Open
$this->queryBuilder = $queryBuilder;
- Exclude checks
Returning type \Smile\ElasticsuiteCatalogOptimizer\Api\Data\OptimizerInterface
but deleteById()
is declared to return bool
Open
Open
return $this->delete($this->getById($optimizerId));
- Exclude checks
Class \Smile\ElasticsuiteCatalog\Model\ResourceModel\Product\Fulltext\Collection
was passed to foreach, but it does not extend Traversable and none of its declared properties are accessible from this context. (This check excludes dynamic properties) Open
Open
foreach ($this->productCollection as $product) {
- Exclude checks
Suspicious array access to float|int
Open
Open
$fields[$fieldName] = $this->mappingFieldFactory->create(['name' => $fieldName] + $fieldConfig);
- Exclude checks
syntax error, unexpected 'private' (T_PRIVATE), expecting variable (T_VARIABLE)
Open
Open
private ClientInterface $client,
- Exclude checks