Total Complexity | 3 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class TestRoleDao extends RoleBaseDao |
||
14 | { |
||
15 | /** |
||
16 | * Returns the list of roles join rights where right label = CAN_SING. |
||
17 | * |
||
18 | * @return RoleBean[] |
||
19 | */ |
||
20 | public function getRolesByRightCanSing($orderBy = null) |
||
27 | ); |
||
28 | } |
||
29 | /** |
||
30 | * Returns the list of roles join rights where right label = CAN_SING. |
||
31 | * |
||
32 | * @return RoleBean[] |
||
33 | */ |
||
34 | public function getRolesByRight($orderBy = null) |
||
35 | { |
||
36 | return $this->findFromSql( |
||
37 | 'roles JOIN roles_rights ON roles.id = roles_rights.role_id JOIN rights ON rights.label = roles_rights.right_label', |
||
38 | null, |
||
39 | [], |
||
40 | $orderBy |
||
41 | ); |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * Returns the role join rights where right label = CAN_SING and role name = Singers. |
||
46 | * |
||
47 | * @return RoleBean |
||
48 | */ |
||
49 | public function getRoleByRightCanSingAndNameSinger() |
||
55 | ); |
||
56 | } |
||
58 |
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