| Total Complexity | 3 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class CrefoPayStub implements CrefoPayStubInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var \SprykerEco\Client\CrefoPay\Dependency\Client\CrefoPayToZedRequestClientInterface |
||
| 18 | */ |
||
| 19 | protected $zedRequestClient; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param \SprykerEco\Client\CrefoPay\Dependency\Client\CrefoPayToZedRequestClientInterface $zedRequestClient |
||
| 23 | */ |
||
| 24 | public function __construct(CrefoPayToZedRequestClientInterface $zedRequestClient) |
||
| 25 | { |
||
| 26 | $this->zedRequestClient = $zedRequestClient; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
||
| 31 | * |
||
| 32 | * @return \Generated\Shared\Transfer\QuoteTransfer |
||
| 33 | */ |
||
| 34 | public function startCrefoPayTransaction(QuoteTransfer $quoteTransfer): QuoteTransfer |
||
| 35 | { |
||
| 36 | /** @var \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer */ |
||
| 37 | $quoteTransfer = $this->zedRequestClient->call('/crefo-pay/gateway/start-crefo-pay-transaction', $quoteTransfer); |
||
| 38 | |||
| 39 | return $quoteTransfer; |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param \Generated\Shared\Transfer\CrefoPayNotificationTransfer $notificationTransfer |
||
| 44 | * |
||
| 45 | * @return \Generated\Shared\Transfer\CrefoPayNotificationTransfer |
||
| 46 | */ |
||
| 47 | public function processNotification(CrefoPayNotificationTransfer $notificationTransfer): CrefoPayNotificationTransfer |
||
| 53 | } |
||
| 54 | } |
||
| 55 |
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