| Conditions | 2 |
| Paths | 2 |
| Total Lines | 16 |
| Code Lines | 13 |
| 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 | $text = new TextEntity; |
||
| 30 | $text |
||
| 31 | ->setUuid($object->uuid) |
||
| 32 | ->setOwner($object->owner) |
||
| 33 | ->setOwnerUuid($object->owner_uuid) |
||
| 34 | ->setSlug($object->slug) |
||
| 35 | ->setTitle((array) $object->title) |
||
| 36 | ->setValue((array) $object->value) |
||
| 37 | ->setTenant($object->tenant); |
||
| 38 | $manager->persist($text); |
||
| 39 | $manager->flush(); |
||
| 40 | } |
||
| 43 |
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