Smile-SA/elasticsuite

View on GitHub
src/module-elasticsuite-catalog-optimizer/Ui/Component/Optimizer/Form/DataProvider.php

Summary

Maintainability
A
50 mins
Test Coverage

Method __construct has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

        $name,
        $primaryFieldName,
        $requestFieldName,
        OptimizerCollectionFactory $optimizerCollectionFactory,
        PoolInterface $modifierPool,

    Possibly zero references to use statement for classlike/namespace OptimizerInterface (\Smile\ElasticsuiteCatalogOptimizer\Api\Data\OptimizerInterface)
    Open

    use Smile\ElasticsuiteCatalogOptimizer\Api\Data\OptimizerInterface;

    Possibly zero references to use statement for classlike/namespace Optimizer (\Smile\ElasticsuiteCatalogOptimizer\Model\Optimizer)
    Open

    use Smile\ElasticsuiteCatalogOptimizer\Model\Optimizer;

    Possibly zero references to use statement for classlike/namespace Registry (\Magento\Framework\Registry)
    Open

    use Magento\Framework\Registry;

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

    use Magento\Backend\Model\UrlInterface;

    There are no issues that match your filters.

    Category
    Status