Total Complexity | 5 |
Total Lines | 77 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class MenuRole |
||
17 | { |
||
18 | /** |
||
19 | * @var int |
||
20 | * |
||
21 | * @ORM\Column(name="id", type="integer", nullable=false) |
||
22 | * @ORM\Id |
||
23 | * @ORM\GeneratedValue(strategy="IDENTITY") |
||
24 | */ |
||
25 | private $id; |
||
26 | |||
27 | /** |
||
28 | * @var \Menu |
||
29 | * |
||
30 | * @ORM\ManyToOne(targetEntity="Menu") |
||
31 | * @ORM\JoinColumns({ |
||
32 | * @ORM\JoinColumn(name="menu_id", referencedColumnName="id") |
||
33 | * }) |
||
34 | */ |
||
35 | private $menu; |
||
36 | |||
37 | /** |
||
38 | * @var \Role |
||
39 | * |
||
40 | * @ORM\ManyToOne(targetEntity="Role") |
||
41 | * @ORM\JoinColumns({ |
||
42 | * @ORM\JoinColumn(name="role_id", referencedColumnName="id") |
||
43 | * }) |
||
44 | */ |
||
45 | private $role; |
||
46 | |||
47 | |||
48 | |||
49 | /** |
||
50 | * Get the value of id |
||
51 | */ |
||
52 | public function getId(): int |
||
53 | { |
||
54 | return $this->id; |
||
55 | } |
||
56 | |||
57 | |||
58 | |||
59 | /** |
||
60 | * Get the value of menu |
||
61 | */ |
||
62 | public function getMenu(): Menu |
||
63 | { |
||
64 | return $this->menu; |
||
65 | } |
||
66 | |||
67 | /** |
||
68 | * Set the value of menu |
||
69 | */ |
||
70 | public function setMenu(Menu $menu): self |
||
71 | { |
||
72 | $this->menu = $menu; |
||
73 | |||
74 | return $this; |
||
75 | } |
||
76 | |||
77 | /** |
||
78 | * Get the value of role |
||
79 | */ |
||
80 | public function getRole(): Role |
||
83 | } |
||
84 | |||
85 | /** |
||
86 | * Set the value of role |
||
87 | */ |
||
88 | public function setRole(Role $role): self |
||
95 |
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