Total Complexity | 3 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class BuyNow implements ArgumentInterface |
||
10 | { |
||
11 | /** |
||
12 | * Buynow config paths |
||
13 | */ |
||
14 | public const BUYNOW_BUTTON_TITLE_PATH = 'buynow/general/button_title'; |
||
15 | public const KEEP_CART_PRODUCTS_PATH = 'buynow/general/keep_cart_products'; |
||
16 | |||
17 | /** |
||
18 | * @var ScopeConfigInterface |
||
19 | */ |
||
20 | protected $scopeConfig; |
||
21 | |||
22 | /** |
||
23 | * BuyNow constructor. |
||
24 | * @param ScopeConfigInterface $scopeConfig |
||
25 | */ |
||
26 | public function __construct( |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * Retrieve button title |
||
34 | * |
||
35 | * @return string |
||
36 | */ |
||
37 | public function getButtonTitle() |
||
42 | ); |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * Check if keep cart products |
||
47 | * |
||
48 | * @return string |
||
49 | */ |
||
50 | public function keepCartProducts() |
||
58 |
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