Conditions | 3 |
Paths | 4 |
Total Lines | 17 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
27 | public function toSearchableArray(): array |
||
28 | { |
||
29 | Log::info("UserTrait::toSearchableArray(), Es User: " . $this->getKey()); |
||
30 | |||
31 | /** @var User $this */ |
||
32 | return [ |
||
33 | 'id' => $this->id, |
||
34 | 'email' => $this->email, |
||
35 | 'email_lowercase' => strtolower($this->email), |
||
36 | 'created_at' => $this->created_at, |
||
37 | 'updated_at' => $this->updated_at, |
||
38 | 'first_name' => $this->first_name, |
||
39 | 'last_name' => $this->last_name, |
||
40 | 'username' => $this->username, |
||
41 | 'permissions' => $this->permissions, |
||
42 | 'avatar' => $this->avatar ? $this->avatar->name : null, |
||
43 | 'avatar_url' => $this->avatar ? $this->avatar->url : null, |
||
44 | ]; |
||
47 |
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