| Conditions | 2 |
| Paths | 2 |
| Total Lines | 19 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | public function request( |
||
| 25 | OrderTransfer $orderTransfer, |
||
| 26 | ?OrderTransfer $partialOrderTransfer = null, |
||
| 27 | array $orderItems = [] |
||
| 28 | ) { |
||
| 29 | $paymentMethod = $this->getPaymentMethod($orderTransfer); |
||
| 30 | $request = $this |
||
| 31 | ->getMethodMapper($paymentMethod->getPaymentType()) |
||
| 32 | ->paymentConfirm($orderTransfer); |
||
| 33 | |||
| 34 | $response = $this->sendRequest((string)$request); |
||
| 35 | $this->logInfo($request, $response, $paymentMethod->getPaymentType(), $paymentMethod->getFkSalesOrder()); |
||
| 36 | |||
| 37 | if ($response->isSuccessful()) { |
||
| 38 | $paymentMethod->setResultCode($response->getResultCode())->save(); |
||
| 39 | } |
||
| 40 | return $this->converterFactory |
||
| 41 | ->createTransferObjectConverter($response) |
||
| 42 | ->convert(); |
||
| 43 | } |
||
| 45 |
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