| Total Complexity | 2 |
| Total Lines | 67 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | class ConfigProviderBase implements ConfigProviderInterface |
||
| 20 | { |
||
| 21 | /* |
||
| 22 | * @var CODE |
||
| 23 | */ |
||
| 24 | const CODE = 'moip_magento2'; |
||
| 25 | |||
| 26 | /* |
||
| 27 | * @var METHOD CODE CC |
||
| 28 | */ |
||
| 29 | const METHOD_CODE_CC = 'moip_magento2_cc'; |
||
| 30 | |||
| 31 | /* |
||
| 32 | * @var METHOD CODE CC VAULT |
||
| 33 | */ |
||
| 34 | const METHOD_CODE_CC_VAULT = 'moip_magento2_cc_vault'; |
||
| 35 | |||
| 36 | /* |
||
| 37 | * @var METHOD CODE BOLETO |
||
| 38 | */ |
||
| 39 | const METHOD_CODE_BOLETO = 'moip_magento2_boleto'; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @var Config |
||
| 43 | */ |
||
| 44 | private $config; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @var CartInterface |
||
| 48 | */ |
||
| 49 | private $cart; |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @var CcConfig |
||
| 53 | */ |
||
| 54 | protected $ccConfig; |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @var \Magento\Framework\View\Asset\Source |
||
| 58 | */ |
||
| 59 | protected $assetSource; |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @param Config $config |
||
| 63 | * @param CartInterface $cart |
||
| 64 | */ |
||
| 65 | public function __construct( |
||
| 66 | Config $config, |
||
| 67 | CartInterface $cart, |
||
| 68 | CcConfig $ccConfig |
||
| 69 | ) { |
||
| 70 | $this->config = $config; |
||
| 71 | $this->cart = $cart; |
||
| 72 | $this->ccConfig = $ccConfig; |
||
| 73 | } |
||
| 74 | |||
| 75 | /** |
||
| 76 | * Retrieve assoc array of checkout configuration. |
||
| 77 | * |
||
| 78 | * @return array |
||
| 79 | */ |
||
| 80 | public function getConfig() |
||
| 86 | ], |
||
| 87 | ], |
||
| 91 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths