| Total Complexity | 8 |
| Total Lines | 100 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class Navigation |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var integer |
||
| 18 | * |
||
| 19 | * @ORM\Column(name="id", type="integer", nullable=false) |
||
| 20 | * @ORM\Id |
||
| 21 | * @ORM\GeneratedValue(strategy="IDENTITY") |
||
| 22 | */ |
||
| 23 | private $id; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var boolean |
||
| 27 | * |
||
| 28 | * @ORM\Column(name="order", type="boolean", nullable=false) |
||
| 29 | */ |
||
| 30 | private $order; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var \Module |
||
|
|
|||
| 34 | * |
||
| 35 | * @ORM\ManyToOne(targetEntity="Module") |
||
| 36 | * @ORM\JoinColumns({ |
||
| 37 | * @ORM\JoinColumn(name="id_module", referencedColumnName="id", nullable=true) |
||
| 38 | * }) |
||
| 39 | */ |
||
| 40 | private $module; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @var \Page |
||
| 44 | * |
||
| 45 | * @ORM\ManyToOne(targetEntity="Page") |
||
| 46 | * @ORM\JoinColumns({ |
||
| 47 | * @ORM\JoinColumn(name="id_page", referencedColumnName="id", nullable=true) |
||
| 48 | * }) |
||
| 49 | */ |
||
| 50 | private $page; |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return int |
||
| 54 | */ |
||
| 55 | public function getId(): int |
||
| 56 | { |
||
| 57 | return $this->id; |
||
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @param int $id |
||
| 62 | */ |
||
| 63 | public function setId(int $id) |
||
| 64 | { |
||
| 65 | $this->id = $id; |
||
| 66 | } |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @return bool |
||
| 70 | */ |
||
| 71 | public function isOrder(): bool |
||
| 72 | { |
||
| 73 | return $this->order; |
||
| 74 | } |
||
| 75 | |||
| 76 | /** |
||
| 77 | * @param bool $order |
||
| 78 | */ |
||
| 79 | public function setOrder(bool $order) |
||
| 80 | { |
||
| 81 | $this->order = $order; |
||
| 82 | } |
||
| 83 | |||
| 84 | /** |
||
| 85 | * @return \Module |
||
| 86 | */ |
||
| 87 | public function getModule(): \Module |
||
| 88 | { |
||
| 89 | return $this->module; |
||
| 90 | } |
||
| 91 | |||
| 92 | /** |
||
| 93 | * @param \Module $module |
||
| 94 | */ |
||
| 95 | public function setModule(\Module $module) |
||
| 96 | { |
||
| 97 | $this->module = $module; |
||
| 98 | } |
||
| 99 | |||
| 100 | /** |
||
| 101 | * @return \Page |
||
| 102 | */ |
||
| 103 | public function getPage(): \Page |
||
| 104 | { |
||
| 105 | return $this->page; |
||
| 106 | } |
||
| 107 | |||
| 108 | /** |
||
| 109 | * @param \Page $page |
||
| 110 | */ |
||
| 111 | public function setPage(\Page $page) |
||
| 114 | } |
||
| 115 | |||
| 116 | } |
||
| 117 | |||
| 118 |
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