Total Complexity | 4 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
9 | class UserListFinderRepository |
||
10 | { |
||
11 | // Fields without password |
||
12 | private array $fields = [ |
||
13 | 'id', |
||
14 | 'first_name', |
||
15 | 'last_name', |
||
16 | 'email', |
||
17 | 'user_role_id', |
||
18 | 'status', |
||
19 | 'updated_at', |
||
20 | 'created_at', |
||
21 | 'theme', |
||
22 | 'language', |
||
23 | ]; |
||
24 | |||
25 | 28 | public function __construct( |
|
29 | 28 | } |
|
30 | |||
31 | /** |
||
32 | * Return all users. |
||
33 | * |
||
34 | * @return UserData[] |
||
35 | */ |
||
36 | 21 | public function findAllUsers(): array |
|
40 | } |
||
41 | |||
42 | /** |
||
43 | * Returns array of user rows. |
||
44 | * |
||
45 | * @return array |
||
46 | */ |
||
47 | 25 | public function findAllUserRows(): array |
|
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