| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class ProfileTransaction extends TransactionHandlerAbstract implements ProfileTransactionInterface |
||
| 16 | { |
||
| 17 | public const TRANSACTION_TYPE = ApiConstants::REQUEST_MODEL_PROFILE; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return \Generated\Shared\Transfer\RatepayResponseTransfer |
||
|
|
|||
| 21 | */ |
||
| 22 | public function request() |
||
| 23 | { |
||
| 24 | $request = $this->getMethodMapper(RatepayConfig::METHOD_SERVICE) |
||
| 25 | ->profile(); |
||
| 26 | |||
| 27 | $response = $this->sendRequest((string)$request); |
||
| 28 | |||
| 29 | $profileResponseTransfer = $this->converterFactory |
||
| 30 | ->createProfileResponseConverter($response) |
||
| 31 | ->convert(); |
||
| 32 | |||
| 33 | return $profileResponseTransfer; |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param string $request |
||
| 38 | * |
||
| 39 | * @return \SprykerEco\Zed\Ratepay\Business\Api\Model\Response\BaseResponse |
||
| 40 | */ |
||
| 41 | protected function sendRequest($request) |
||
| 44 | } |
||
| 45 | } |
||
| 46 |
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