1 | <?php |
||
2 | |||
3 | namespace App\Entity; |
||
4 | |||
5 | use App\Entity\Attribute\Accessor as EntityAccessor; |
||
6 | use Ds\Component\Locale\Model\Type\Localizable; |
||
0 ignored issues
–
show
|
|||
7 | use Ds\Component\Model\Attribute\Accessor; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Attribute\Accessor was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
8 | use Ds\Component\Model\Type\Deletable; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Type\Deletable was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
9 | use Ds\Component\Model\Type\Identifiable; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Type\Identifiable was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
10 | use Ds\Component\Model\Type\Identitiable; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Type\Identitiable was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
11 | use Ds\Component\Model\Type\Ownable; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Type\Ownable was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
12 | use Ds\Component\Model\Type\Uuidentifiable; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Type\Uuidentifiable was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
13 | use Ds\Component\Model\Type\Versionable; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Type\Versionable was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
14 | use Ds\Component\Tenant\Model\Attribute\Accessor as TenantAccessor; |
||
0 ignored issues
–
show
The type
Ds\Component\Tenant\Model\Attribute\Accessor was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
15 | use Ds\Component\Tenant\Model\Type\Tenantable; |
||
0 ignored issues
–
show
The type
Ds\Component\Tenant\Model\Type\Tenantable was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
16 | use Ds\Component\Translation\Model\Attribute\Accessor as TranslationAccessor; |
||
0 ignored issues
–
show
The type
Ds\Component\Translation\Model\Attribute\Accessor was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
17 | use Ds\Component\Translation\Model\Type\Translatable; |
||
0 ignored issues
–
show
The type
Ds\Component\Translation\Model\Type\Translatable was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
18 | use Knp\DoctrineBehaviors\Model as Behavior; |
||
0 ignored issues
–
show
The type
Knp\DoctrineBehaviors\Model was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
19 | |||
20 | use ApiPlatform\Core\Annotation\ApiResource; |
||
0 ignored issues
–
show
The type
ApiPlatform\Core\Annotation\ApiResource was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
21 | use ApiPlatform\Core\Annotation\ApiProperty; |
||
0 ignored issues
–
show
The type
ApiPlatform\Core\Annotation\ApiProperty was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
22 | use Doctrine\ORM\Mapping as ORM; |
||
0 ignored issues
–
show
The type
Doctrine\ORM\Mapping was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
23 | use Ds\Component\Locale\Model\Annotation\Locale; |
||
0 ignored issues
–
show
The type
Ds\Component\Locale\Model\Annotation\Locale was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
24 | use Ds\Component\Translation\Model\Annotation\Translate; |
||
0 ignored issues
–
show
The type
Ds\Component\Translation...el\Annotation\Translate was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
25 | use Symfony\Bridge\Doctrine\Validator\Constraints as ORMAssert; |
||
0 ignored issues
–
show
The type
Symfony\Bridge\Doctrine\Validator\Constraints was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
26 | use Symfony\Component\Serializer\Annotation As Serializer; |
||
0 ignored issues
–
show
The type
Symfony\Component\Serializer\Annotation was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
27 | use Symfony\Component\Validator\Constraints as Assert; |
||
0 ignored issues
–
show
The type
Symfony\Component\Validator\Constraints was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
28 | |||
29 | /** |
||
30 | * Class Persona |
||
31 | */ |
||
32 | abstract class Persona implements Identifiable, Uuidentifiable, Ownable, Identitiable, Translatable, Localizable, Deletable, Versionable, Tenantable |
||
33 | { |
||
34 | use Behavior\Translatable\Translatable; |
||
0 ignored issues
–
show
The type
Knp\DoctrineBehaviors\Mo...anslatable\Translatable was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
35 | use Behavior\Timestampable\Timestampable; |
||
0 ignored issues
–
show
The type
Knp\DoctrineBehaviors\Mo...stampable\Timestampable was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
36 | use Behavior\SoftDeletable\SoftDeletable; |
||
0 ignored issues
–
show
The type
Knp\DoctrineBehaviors\Mo...Deletable\SoftDeletable was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
37 | |||
38 | use Accessor\Id; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Attribute\Accessor\Id was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
39 | use Accessor\Uuid; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Attribute\Accessor\Uuid was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
40 | use Accessor\Owner; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Attribute\Accessor\Owner was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
41 | use Accessor\OwnerUuid; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Attribute\Accessor\OwnerUuid was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
42 | use EntityAccessor\Persona\Identity; |
||
43 | use EntityAccessor\Persona\IdentityUuid; |
||
44 | use TranslationAccessor\Title; |
||
0 ignored issues
–
show
The type
Ds\Component\Translation...ttribute\Accessor\Title was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
45 | use Accessor\Data; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Attribute\Accessor\Data was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
46 | use Accessor\Deleted; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Attribute\Accessor\Deleted was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
47 | use Accessor\Version; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Attribute\Accessor\Version was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
48 | use TenantAccessor\Tenant; |
||
0 ignored issues
–
show
The type
Ds\Component\Tenant\Mode...tribute\Accessor\Tenant was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
49 | |||
50 | /** |
||
51 | * @var integer |
||
52 | * @ApiProperty(identifier=false, writable=false) |
||
53 | * @Serializer\Groups({"persona_output"}) |
||
54 | * @ORM\Id |
||
55 | * @ORM\GeneratedValue(strategy="AUTO") |
||
56 | * @ORM\Column(name="id", type="integer") |
||
57 | */ |
||
58 | protected $id; |
||
59 | |||
60 | /** |
||
61 | * @var string |
||
62 | * @ApiProperty(identifier=true, writable=false) |
||
63 | * @Serializer\Groups({"persona_output"}) |
||
64 | * @ORM\Column(name="uuid", type="guid", unique=true) |
||
65 | * @Assert\Uuid |
||
66 | */ |
||
67 | protected $uuid; |
||
68 | |||
69 | /** |
||
70 | * @var \DateTime |
||
71 | * @ApiProperty(writable=false) |
||
72 | * @Serializer\Groups({"persona_output"}) |
||
73 | */ |
||
74 | protected $createdAt; |
||
75 | |||
76 | /** |
||
77 | * @var \DateTime |
||
78 | * @ApiProperty(writable=false) |
||
79 | * @Serializer\Groups({"persona_output"}) |
||
80 | */ |
||
81 | protected $updatedAt; |
||
82 | |||
83 | /** |
||
84 | * @var \DateTime |
||
85 | * @ApiProperty(writable=false) |
||
86 | * @Serializer\Groups({"persona_output"}) |
||
87 | */ |
||
88 | protected $deletedAt; |
||
89 | |||
90 | /** |
||
91 | * @var string |
||
92 | * @ApiProperty |
||
93 | * @Serializer\Groups({"persona_output", "persona_input"}) |
||
94 | * @ORM\Column(name="`owner`", type="string", length=255, nullable=true) |
||
95 | * @Assert\NotBlank |
||
96 | */ |
||
97 | protected $owner; |
||
98 | |||
99 | /** |
||
100 | * @var string |
||
101 | * @ApiProperty |
||
102 | * @Serializer\Groups({"persona_output", "persona_input"}) |
||
103 | * @ORM\Column(name="owner_uuid", type="guid", nullable=true) |
||
104 | * @Assert\NotBlank |
||
105 | * @Assert\Uuid |
||
106 | */ |
||
107 | protected $ownerUuid; |
||
108 | |||
109 | /** |
||
110 | * @var array |
||
111 | * @ApiProperty |
||
112 | * @Serializer\Groups({"persona_output", "persona_input"}) |
||
113 | * @Assert\Type("array") |
||
114 | * @Assert\NotBlank |
||
115 | * @Assert\All({ |
||
116 | * @Assert\NotBlank, |
||
117 | * @Assert\Length(min=1) |
||
118 | * }) |
||
119 | * @Locale |
||
120 | * @Translate |
||
121 | */ |
||
122 | protected $title; |
||
123 | |||
124 | /** |
||
125 | * @var array |
||
126 | * @ApiProperty |
||
127 | * @Serializer\Groups({"persona_output", "persona_input"}) |
||
128 | * @ORM\Column(name="data", type="json_array") |
||
129 | * @Assert\Type("array") |
||
130 | */ |
||
131 | protected $data; |
||
132 | |||
133 | /** |
||
134 | * @var integer |
||
135 | * @ApiProperty |
||
136 | * @Serializer\Groups({"persona_output", "persona_input"}) |
||
137 | * @ORM\Column(name="version", type="integer") |
||
138 | * @ORM\Version |
||
139 | * @Assert\NotBlank |
||
140 | * @Assert\Type("integer") |
||
141 | */ |
||
142 | protected $version; |
||
143 | |||
144 | /** |
||
145 | * @var string |
||
146 | * @ApiProperty(writable=false) |
||
147 | * @Serializer\Groups({"persona_output"}) |
||
148 | * @ORM\Column(name="tenant", type="guid") |
||
149 | * @Assert\Uuid |
||
150 | */ |
||
151 | protected $tenant; |
||
152 | |||
153 | /** |
||
154 | * Constructor |
||
155 | */ |
||
156 | public function __construct() |
||
157 | { |
||
158 | $this->title = []; |
||
159 | $this->data = []; |
||
160 | } |
||
161 | } |
||
162 |
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