Total Complexity | 7 |
Total Lines | 78 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class DocumentModel |
||
15 | { |
||
16 | /** |
||
17 | * @ORM\Column(type="integer", nullable=false) |
||
18 | * @ORM\Id |
||
19 | * @ORM\GeneratedValue(strategy="IDENTITY") |
||
20 | */ |
||
21 | private $id; |
||
22 | |||
23 | /** |
||
24 | * @ORM\Column(name="document_model", type="string", nullable=false) |
||
25 | */ |
||
26 | private $document_model; |
||
27 | |||
28 | /** |
||
29 | * @ORM\Column(name="content", type="text", nullable=false) |
||
30 | */ |
||
31 | private $content; |
||
32 | |||
33 | /** |
||
34 | * @ORM\Column(name="people_id", type="integer", nullable=true) |
||
35 | */ |
||
36 | private $peopleId; |
||
37 | |||
38 | /** |
||
39 | * @return int |
||
40 | */ |
||
41 | public function getId(): int |
||
42 | { |
||
43 | return $this->id; |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * @return string |
||
48 | */ |
||
49 | public function getDocumentModel(): string |
||
52 | } |
||
53 | |||
54 | /** |
||
55 | * @param string $document_model |
||
56 | * @return DocumentModel |
||
57 | */ |
||
58 | public function setDocumentModel(string $document_model): DocumentModel |
||
59 | { |
||
60 | $this->document_model = $document_model; |
||
61 | |||
62 | return $this; |
||
63 | } |
||
64 | |||
65 | /** |
||
66 | * @return string |
||
67 | */ |
||
68 | public function getContent(): string |
||
69 | { |
||
70 | return $this->content; |
||
71 | } |
||
72 | |||
73 | /** |
||
74 | * @param string $content |
||
75 | * @return DocumentModel |
||
76 | */ |
||
77 | public function setContent(string $content): DocumentModel |
||
81 | } |
||
82 | |||
83 | public function getPeopleId(): int |
||
84 | { |
||
86 | } |
||
87 | |||
88 | public function setPeopleId(int $peopleId): DocumentModel |
||
94 |
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