Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | public function discoveryDeviceConfig(Device $device, People $people) |
||
30 | { |
||
31 | $device_config = $this->manager->getRepository(DeviceConfig::class)->findOneBy([ |
||
32 | 'device' => $device, |
||
33 | 'people' => $people |
||
34 | ]); |
||
35 | if (! $device_config) { |
||
36 | $device_config = new DeviceConfig(); |
||
37 | $device_config->setDevice($device); |
||
38 | $device_config->setPeople($people); |
||
39 | } |
||
40 | |||
41 | return $device_config; |
||
42 | } |
||
56 |
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