Total Complexity | 2 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
30 | class ListProduct extends Block |
||
31 | { |
||
32 | /** |
||
33 | * @var UrlHelper |
||
34 | */ |
||
35 | protected $urlHelper; |
||
36 | |||
37 | /** |
||
38 | * ListProduct constructor. |
||
39 | * @param Context $context |
||
40 | * @param UrlHelper $urlHelper |
||
41 | * @param array $data |
||
42 | */ |
||
43 | public function __construct( |
||
50 | } |
||
51 | |||
52 | /** |
||
53 | * Get post parameters |
||
54 | * |
||
55 | * @param \Magento\Catalog\Model\Product $product |
||
56 | * @return array |
||
57 | */ |
||
58 | public function getAddToCartPostParams(\Magento\Catalog\Model\Product $product) |
||
74 |
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