| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function toArray($request): array |
||
| 16 | { |
||
| 17 | /** @var Post $this */ |
||
| 18 | return [ |
||
| 19 | 'id' => $this->id, |
||
| 20 | 'name' => $this->name, |
||
| 21 | 'slug' => $this->slug, |
||
| 22 | 'description' => $this->description, |
||
| 23 | 'image' => $this->image ? RvMedia::url($this->image) : null, |
||
| 24 | 'categories' => CategoryResource::collection($this->categories), |
||
| 25 | 'tags' => TagResource::collection($this->tags), |
||
| 26 | 'author' => AuthorResource::make($this->author), |
||
| 27 | 'created_at' => $this->created_at, |
||
| 28 | 'updated_at' => $this->updated_at, |
||
| 29 | ]; |
||
| 32 |
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