| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 18 | 
| Code Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 17 | public function __construct(array $data) | ||
| 18 |     { | ||
| 19 | $collection = new EntityCollection(); | ||
| 20 | |||
| 21 | $this->topic = $data['topic']; | ||
| 22 | $this->type = $data['type']; | ||
| 23 | $this->timestamp = DateTimeHelper::makeFromTimestamp($data['ts']); | ||
| 24 | |||
| 25 |         if (!empty($data['data'])) { | ||
| 26 | |||
| 27 | $data['data'] = array_is_list($data['data']) ? $data['data'] : [$data['data']]; | ||
| 28 | |||
| 29 |             array_map(function ($item) use ($collection) { | ||
| 30 | $collection->push(ResponseDtoBuilder::make(OrderBookPriceAbstract::class, $item)); | ||
| 31 | }, $data['data']); | ||
| 32 | } | ||
| 33 | |||
| 34 | $this->data = $collection; | ||
| 35 | } | ||
| 52 | 
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