Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
58 | public function getAddToCartPostParams(\Magento\Catalog\Model\Product $product) |
||
59 | { |
||
60 | $url = str_replace( |
||
61 | 'checkout/cart/add', |
||
62 | 'buynow/cart/add', |
||
63 | $this->getAddToCartUrl($product) |
||
64 | ); |
||
65 | return [ |
||
66 | 'action' => $url, |
||
67 | 'data' => [ |
||
68 | 'product' => $product->getEntityId(), |
||
69 | ActionInterface::PARAM_NAME_URL_ENCODED => $this->urlHelper->getEncodedUrl($url), |
||
70 | ] |
||
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