| Conditions | 2 |
| Paths | 2 |
| Total Lines | 23 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function log( |
||
| 28 | $orderReference, |
||
| 29 | $type, |
||
| 30 | $resultCode, |
||
| 31 | array $requestPayload, |
||
| 32 | stdClass $responsePayload |
||
| 33 | ) { |
||
| 34 | $callLog = new SpyArvatoRssApiCallLog(); |
||
| 35 | $callLog->setOrderReference($orderReference) |
||
| 36 | ->setCallType($type) |
||
| 37 | ->setResultCode($resultCode) |
||
| 38 | ->setRequestPayload( |
||
| 39 | print_r($requestPayload, true) |
||
| 40 | ) |
||
| 41 | ->setResponsePayload( |
||
| 42 | print_r($responsePayload, true) |
||
| 43 | ); |
||
| 44 | |||
| 45 | if ($this->isResponsePayloadCommunicationTokenExists($responsePayload)) { |
||
| 46 | $callLog->setCommunicationToken($responsePayload->Decision->CommunicationToken); |
||
| 47 | } |
||
| 48 | |||
| 49 | $callLog->save(); |
||
| 50 | } |
||
| 63 |
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