Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
53 | public function execute() |
||
54 | { |
||
55 | $order = $this->checkoutSession->getLastRealOrder(); |
||
56 | |||
57 | $payment = $order->getPayment(); |
||
58 | |||
59 | $post_data = [ |
||
60 | 'url' => $payment->getAdditionalInformation('redirect_url') |
||
61 | ]; |
||
62 | |||
63 | $result = $this->resultJsonFactory->create(); |
||
64 | |||
65 | return $result->setData($post_data); |
||
66 | } |
||
68 |
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