Conditions | 5 |
Paths | 3 |
Total Lines | 20 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | public function execute(AmazonpayCallTransfer $amazonPayCallTransfer) |
||
21 | { |
||
22 | if ($amazonPayCallTransfer->getAmazonpayPayment() |
||
23 | && $amazonPayCallTransfer->getAmazonpayPayment() |
||
24 | ->getAuthorizationDetails() |
||
25 | && $amazonPayCallTransfer->getAmazonpayPayment() |
||
26 | ->getAuthorizationDetails() |
||
27 | ->getAuthorizationStatus() |
||
28 | ->getState() === AmazonPayConfig::STATUS_PAYMENT_METHOD_INVALID |
||
29 | ) { |
||
30 | return $amazonPayCallTransfer; |
||
31 | } |
||
32 | |||
33 | if ($amazonPayCallTransfer->getAmazonpayPayment()) { |
||
34 | $amazonPayCallTransfer->getAmazonpayPayment()->setSellerOrderId( |
||
35 | $this->generateOperationReferenceId($amazonPayCallTransfer) |
||
36 | ); |
||
37 | } |
||
38 | |||
39 | return parent::execute($amazonPayCallTransfer); |
||
40 | } |
||
42 |
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