Conditions | 3 |
Paths | 5 |
Total Lines | 18 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
32 | public function performRequest(CrefoPayApiRequestTransfer $requestTransfer): CrefoPayApiResponseTransfer |
||
33 | { |
||
34 | $method = $this->getMethod(); |
||
35 | |||
36 | try { |
||
37 | /** @var \Psr\Http\Message\ResponseInterface $response */ |
||
38 | $response = $this->client->$method( |
||
39 | $this->request->getUrl(), |
||
40 | $this->request->getRequestOptions($requestTransfer) |
||
41 | ); |
||
42 | |||
43 | return $this->converter->convertToResponseTransfer($response); |
||
44 | |||
45 | } catch (RequestException $requestException) { |
||
46 | $response = $requestException->getResponse(); |
||
47 | return; |
||
48 | } catch (RequiredTransferPropertyException $requiredTransferPropertyException) { |
||
49 | return; |
||
50 | } |
||
60 | } |
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