| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 23 | 
| Code Lines | 18 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 24 | public function load(ObjectManager $manager) | ||
| 25 |     { | ||
| 26 | $objects = $this->parse($this->path); | ||
| 27 | |||
| 28 |         foreach ($objects as $object) { | ||
| 29 | $case = new CaseEntity; | ||
| 30 | $case | ||
| 31 | ->setUuid($object->uuid) | ||
| 32 | ->setCustomId($object->custom_id) | ||
| 33 | ->setOwner($object->owner) | ||
| 34 | ->setOwnerUuid($object->owner_uuid) | ||
| 35 | ->setIdentity($object->identity) | ||
| 36 | ->setIdentityUuid($object->identity_uuid) | ||
| 37 | ->setTitle((array) $object->title) | ||
| 38 | ->setData((array) $object->data) | ||
| 39 | ->setState($object->state) | ||
| 40 | ->setPriority($object->priority) | ||
| 41 | ->setTenant($object->tenant); | ||
| 42 | $manager->persist($case); | ||
| 43 | $this->setReference($object->uuid, $case); | ||
| 44 | } | ||
| 45 | |||
| 46 | $manager->flush(); | ||
| 47 | } | ||
| 49 | 
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