| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public function convertRequestTransferToArray(CrefoPayApiRequestTransfer $requestTransfer): array |
||
| 34 | { |
||
| 35 | $cancelRequest = $requestTransfer->getCancelRequest(); |
||
| 36 | if ($cancelRequest === null) { |
||
| 37 | return []; |
||
| 38 | } |
||
| 39 | |||
| 40 | return [ |
||
| 41 | $this->config->getApiFieldMerchantId() => $cancelRequest->getMerchantID(), |
||
| 42 | $this->config->getApiFieldStoreId() => $cancelRequest->getStoreID(), |
||
| 43 | $this->config->getApiFieldOrderId() => $cancelRequest->getOrderID(), |
||
| 44 | ]; |
||
| 47 |
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