Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function execute(Observer $observer) |
||
14 | { |
||
15 | $method = $this->readMethodArgument($observer); |
||
16 | $data = $this->readDataArgument($observer); |
||
17 | |||
18 | $paymentInfo = $method->getInfoInstance(); |
||
19 | |||
20 | if ($data->getDataByKey('additional_data') !== null) { |
||
21 | foreach ($data->getDataByKey('additional_data') as $key => $value) { |
||
22 | $paymentInfo->setAdditionalInformation( |
||
23 | $key, |
||
24 | $value |
||
25 | ); |
||
30 |
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