1 | <?php |
||
2 | |||
3 | namespace GGGGino\SkuskuCartBundle\EntitySample; |
||
4 | |||
5 | use Doctrine\ORM\Mapping as ORM; |
||
6 | use GGGGino\SkuskuCartBundle\Model\SkuskuLangInterface; |
||
7 | |||
8 | /** |
||
9 | * SkuskuLanguage |
||
10 | * |
||
11 | * @ORM\Table(name="languagee") |
||
12 | * @ORM\Entity() |
||
13 | */ |
||
14 | class SkuskuLanguage implements SkuskuLangInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var int |
||
18 | * |
||
19 | * @ORM\Column(name="id", type="integer") |
||
20 | * @ORM\Id |
||
21 | * @ORM\GeneratedValue(strategy="AUTO") |
||
22 | */ |
||
23 | private $id; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | * |
||
28 | * @ORM\Column(name="identifier", type="string", length=20, unique=true) |
||
29 | */ |
||
30 | private $identifier; |
||
31 | |||
32 | /** |
||
33 | * @var string |
||
34 | * |
||
35 | * @ORM\Column(name="name", type="string", length=50) |
||
36 | */ |
||
37 | private $name; |
||
38 | |||
39 | |||
40 | /** |
||
41 | * Get id |
||
42 | * |
||
43 | * @return int |
||
44 | */ |
||
45 | public function getId() |
||
46 | { |
||
47 | return $this->id; |
||
48 | } |
||
49 | |||
50 | /** |
||
51 | * Set identifier |
||
52 | * |
||
53 | * @param string $identifier |
||
54 | * |
||
55 | * @return Language |
||
0 ignored issues
–
show
|
|||
56 | */ |
||
57 | public function setIdentifier($identifier) |
||
58 | { |
||
59 | $this->identifier = $identifier; |
||
60 | |||
61 | return $this; |
||
0 ignored issues
–
show
|
|||
62 | } |
||
63 | |||
64 | /** |
||
65 | * Get identifier |
||
66 | * |
||
67 | * @return string |
||
68 | */ |
||
69 | public function getIdentifier() |
||
70 | { |
||
71 | return $this->identifier; |
||
72 | } |
||
73 | |||
74 | /** |
||
75 | * Set name |
||
76 | * |
||
77 | * @param string $name |
||
78 | * |
||
79 | * @return Language |
||
80 | */ |
||
81 | public function setName($name) |
||
82 | { |
||
83 | $this->name = $name; |
||
84 | |||
85 | return $this; |
||
0 ignored issues
–
show
|
|||
86 | } |
||
87 | |||
88 | /** |
||
89 | * Get name |
||
90 | * |
||
91 | * @return string |
||
92 | */ |
||
93 | public function getName() |
||
94 | { |
||
95 | return $this->name; |
||
96 | } |
||
97 | |||
98 | /** |
||
99 | * @return bool |
||
100 | */ |
||
101 | public function getActive() |
||
102 | { |
||
103 | return true; |
||
104 | } |
||
105 | |||
106 | /** |
||
107 | * @return string |
||
108 | */ |
||
109 | public function getIsoCode() |
||
110 | { |
||
111 | return $this->getIdentifier(); |
||
112 | } |
||
113 | } |
||
114 | |||
115 |
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